How to Build a Student Performance Dashboard Using Power BI

A teacher receives a spreadsheet containing fictional assessment results for six subjects. Every row has quiz, assignment and examination scores, attendance counts and an academic term. The questions sound simple: Which subjects have higher average scores? How many completed assessments meet the illustrative passing threshold? Does attendance vary across study levels? What changed between terms? Yet a colorful dashboard can mislead if it counts assessment records as students, treats a missing exam as a zero, or presents an average as proof that every learner improved.

In this practical guide, you will learn how to build a student performance dashboard using Power BI from an auditable, 100% fictional dataset. The project combines Power Query cleaning, a four-table star schema, weighted academic marks, DAX measures, six KPI cards, subject comparisons, term trends, attendance analysis, slicers and a subject-detail drillthrough plan. The article focuses on the reasoning behind each result, not just where to click. It is designed for secondary school learners, university beginners, teachers and aspiring data analysts worldwide.

Synthetic Educational Dataset — For Learning and Demonstration Only. The project has 120 fictional students, six subjects, two terms and 1,440 student–subject–term records; 1,410 contain all required assessment components and 30 are incomplete. The figures are generated for teaching, not real-school findings. A 50/100 pass threshold and 20/30/50 weights are illustrative, not official educational policy. No real student names, scores, private identifiers or sensitive school records are included.

The companion spreadsheet, importable CSV files and independently calculated reference metrics are available below. Because a functioning native Power BI report can only be verified by authoring and opening the project in Power BI Desktop, the supplied learning package is import-ready rather than a completed .pbix. Screenshots of fictional-looking software, static charts or spreadsheet mockups must never be described as tested Power BI reports. Every numerical chart included here is generated from the actual synthetic CSV records, with its limitation clearly identified.

Educational analytics workflow from source and validation to Power Query, model, DAX, reporting and interpretation.
Figure 1. Build the analytical argument before arranging visualizations. Concept diagram, not a Power BI application screenshot.

Learning objectives: what the finished report should answer

A useful student performance report answers a defined research question under known grading rules. By the end of this tutorial, you should be able to describe the unit of analysis, check dataset quality, define one-to-many relationships, calculate marks correctly, create interactive measures and explain filters without confusing unique students with grade records. You should also recognise when the data are insufficient to make a reliable comparison, especially where missing grades or small groups affect a percentage.

What is a student performance dashboard in Power BI?

A student performance dashboard is a visual summary of selected academic indicators, such as assessment scores, completion and attendance, that helps users investigate questions about a defined population. Power BI Desktop lets authors create a report with interactive pages, tables, measures and filters. The Power BI service provides cloud-based collaboration and, separately, formal dashboard objects. A dashboard-style layout built locally in Desktop is technically a Power BI report page, not an automatically published service dashboard.

Power BI Desktop versus Power BI service

EnvironmentPrimary roleImportant limitation
Power BI DesktopAuthor datasets, relationships, DAX and interactive report pages on a supported Windows computerA .pbix must be created, opened and tested inside Desktop
Power BI serviceHost and share reports, collaborate and create service dashboards where authorizedPermissions, licensing and organizational settings affect distribution
Publish to webCreates publicly accessible report embedding where allowedAnyone on the internet may view the published content; unsuitable for confidential student data

Microsoft provides Power BI Desktop through the Microsoft Store or its official download process. Menus change with releases, and some features depend on tenant configuration. Building a local sample report does not require public sharing or paid organizational collaboration. Verify licensing details with Microsoft’s current Power BI licensing documentation rather than assuming every free user can share private reports freely. Publish to web exposes content publicly; do not use it for real individual academic records.

Understand the fictional student assessment data

The complete dataset represents a stable historical teaching period, Academic Year 2025/26. A fixed pseudorandom seed (73073) was used to generate transparent variation in fictional learner scores, subject offsets and term effects. Component scores come from a shared underlying synthetic learner tendency with bounded random noise rather than being unrelated arbitrary numbers. That makes the demonstrations realistic enough to practise analysis without suggesting that the values describe actual educational outcomes.

Dimension or factRowsPurpose
DimStudents120Unique synthetic student keys, codes, study levels, fictional regions and cohorts
DimSubjects6Unique subject keys, names and subject groups
DimTerms2Academic year, term names, chronological TermOrder and date bounds
FactPerformance1440One row per StudentKey × SubjectKey × TermKey; assessment and attendance measures

The 1,440 record count comes from 120 × 6 × 2. It is not a count of 1,440 people: each student has a record in six subjects in each of two terms. Each record carries a stable PerformanceID and three dimension foreign keys, making it suitable for a star schema. The dataset contains 30 incomplete rows distributed as ten missing quizzes, ten missing assignments and ten missing examinations. A separate deliberately recorded quiz score of zero shows why zero cannot be treated as missing. All generated attendance counts satisfy 0 ≤ SessionsAttended ≤ SessionsScheduled.

Assessment weighting diagram quiz 20 percent assignment 30 percent examination 50 percent.
Figure 2. Project-only assessment weights; these are not a universal or national grading scheme.

Define the grading rules before you calculate

In this tutorial, each assessment component is scored on a 0–100 scale. Quiz contributes 20%, assignment contributes 30%, and examination contributes 50% to the weighted final mark. For a fictional learner who obtains Quiz 80, Assignment 70 and Examination 60, the correct calculation is 80 × 0.20 + 70 × 0.30 + 60 × 0.50 = 67 points out of 100. Do not display 67 as 6,700%: FinalScore100 is a 0–100 measure, while Pass Rate is a proportion between zero and one displayed as a percentage.

Final Score = QuizScore * 0.20
            + AssignmentScore * 0.30
            + ExaminationScore * 0.50
Example:     80 * 0.20 + 70 * 0.30 + 60 * 0.50 = 67

If any component required for this policy is missing, the final score is unavailable rather than a partial score. A genuine recorded zero still contributes zero under its weight and is included in the calculation. A record officially excused from an assessment might require a separate approved rule, but such a rule cannot be inferred from an empty spreadsheet cell. The fictional teaching threshold is 50/100; real course grading policies vary across institutions and jurisdictions.

Step 1 — Install Power BI Desktop and open a new report

On a supported Windows computer, go to the official Power BI Desktop getting-started page, review requirements and install from the Microsoft Store or the approved installer. Open Desktop and locate the report canvas, Home ribbon, Model view, data/table view, Fields or Data pane and visual-formatting controls. The available labels may differ between the current Desktop release and older tutorial screenshots, so follow the functional purpose of each area.

Step 2 — Download and import the workbook

Download the synthetic assessment workbook, which contains the four named tables, a DataDictionary, validation summary and README. In Desktop choose Home → Get data → Excel workbook, select the file, and review the Navigator preview. Choose DimStudents, DimSubjects, DimTerms and FactPerformance. Select Transform Data to inspect types before loading, rather than assuming spreadsheet appearance guarantees correct underlying values.

Verify the dimensions contain 120, six and two rows respectively, and the fact table contains exactly 1,440. Preserve StudentCode as text; do not extract STU001 as a numerical person identifier. Confirm StudentKey, SubjectKey and TermKey are compatible whole-number keys; marks are decimal numbers; session totals are whole numbers; date columns can be parsed deliberately; and AssessmentStatus is text. Importing through separate CSV files is also possible, but apply consistent delimiters, encoding and data types.

Step 3 — Clean and validate with Power Query

Power Query is the import-and-transformation layer. Begin with column profiles, data types, null counts and uniqueness checks. Trim harmless boundary spaces in controlled category fields, but do not strip meaningful characters from StudentCode. Count distinct StudentKey/SubjectKey/TermKey combinations and compare them with the 1,440 original rows. Because the fact grain is one record per student, subject and term, a second occurrence of the same triple would need investigation rather than an automatic “remove duplicates” click.

Check every present quiz, assignment and examination value lies between 0 and 100. Identify missing required marks separately. Confirm all attendance values are nonnegative whole numbers, scheduled sessions are positive in this project, and attended sessions never exceed scheduled sessions. Use a validation query or conditional custom column to flag invalid rows. Verify each fact StudentKey, SubjectKey and TermKey exists in its corresponding dimension; a missing match can produce incorrect grouped statistics even if no obvious error is visible.

// Example Power Query M custom column formula:
if [QuizScore] = null
  or [AssignmentScore] = null
  or [ExaminationScore] = null
then "Incomplete"
else "Graded"

The project was independently checked outside Power BI and has zero duplicate fact keys, zero invalid present component scores, zero invalid attendance rows and zero unmatched dimension keys. Its 30 incomplete assessments are expected and remain in the fact table. These statements describe validated source CSV contents; they do not claim that Power Query itself was executed in this environment. Power Query automatically generated steps are editable and should be reviewed for locale-dependent or schema-dependent errors on refresh.

Step 4 — Prepare the 0–100 final score without creating conflicting columns

The supplied FactPerformance table already includes the independently computed FinalScore100 value, blank on the 30 incomplete records. Beginners can use this imported column directly. Alternatively, if practising a DAX calculated column, first remove the imported FinalScore100 column from the Power Query model or rename it clearly. Do not create a second column under the same name with different numbers and then allow charts to use whichever one happens to be convenient.

FinalScore100 =
IF (
    ISBLANK ( FactPerformance[QuizScore] )
        || ISBLANK ( FactPerformance[AssignmentScore] )
        || ISBLANK ( FactPerformance[ExaminationScore] ),
    BLANK(),
    FactPerformance[QuizScore] * 0.20
        + FactPerformance[AssignmentScore] * 0.30
        + FactPerformance[ExaminationScore] * 0.50
)

A calculated column is evaluated for each fact row when the model is processed, while a measure is evaluated according to the current filter context. The above calculated-column expression preserves missingness and includes a real score of zero. Only use it after invalid input values have been rejected. Compare several source rows manually and then validate all 1,410 calculated scores. Any small discrepancy caused by number formatting or rounding should be explained rather than silently overwritten.

Step 5 — Build the three one-to-many relationships

Switch to Model view and connect DimStudents[StudentKey] to FactPerformance[StudentKey], DimSubjects[SubjectKey] to FactPerformance[SubjectKey] and DimTerms[TermKey] to FactPerformance[TermKey]. Each dimension key must be unique and each fact key can repeat because one student appears in many assessment rows. Set the active relationship cardinality to one-to-many where supported by the data, with single-direction filtering from the dimension to the fact for this beginner project.

Star schema diagram with three one-to-many dimension-to-fact key connections.
Figure 3. Accurate conceptual star schema derived from the supplied dataset; not a screenshot of Power BI Model view.

Step 6 — Understand DAX measures and filter context

DAX stands for Data Analysis Expressions, the calculation language used in Power BI semantic models. A calculated column such as FinalScore100 stores a result for each fact row; a measure computes an answer based on the current filter context. This distinction matters: select Biology in a slicer, and Average Final Score should evaluate over graded Biology records without editing the raw CSV or creating a separate formula for each subject.

Measures should express a specific business or educational definition. “Number of students” could refer to all registered learners, students with at least one assessment record or distinct students with a completed grade. Those are different questions. Our six core cards therefore have explicit labels and denominators. Use a dedicated measure table if you prefer organizing measures, but do not change the underlying definition merely because a card looks better with a different count.

Step 7 — Build the six primary academic KPI measures

KPI 1: Total Performance Records

Total Performance Records =
COUNTROWS ( FactPerformance )

This counts fact rows, not unique people. The independent reference value is 1,440 student–subject–term combinations. Filtering to one subject reduces the count to 240; filtering to one term reduces it to 720. A common mistake is displaying 1,440 under the label “students,” which would exaggerate enrolment twelvefold. Distinguish the observation unit in the card subtitle or tooltip.

KPI 2: Graded Records

Graded Records =
COUNT ( FactPerformance[FinalScore100] )

COUNT returns the number of numeric final scores, including legitimate zero values and excluding blanks. The reference value is 1,410. The missing 30 fact rows remain available for completeness reporting, but they are excluded from the score average and graded pass-rate denominator. Never label an incomplete grade as failed simply because an examination has not been recorded.

KPI 3: Students Assessed

Students Assessed =
CALCULATE (
    DISTINCTCOUNT ( FactPerformance[StudentKey] ),
    FILTER (
        FactPerformance,
        NOT ISBLANK ( FactPerformance[FinalScore100] )
    )
)

This measure asks how many distinct fictional student keys have at least one complete grade under the current filters. The overall result is 120; each learner has multiple subject and term records. DISTINCTCOUNT prevents the same learner from being counted twelve times. A row count and a unique-student count may both be correct if their labels and analytical purposes differ.

KPI 4: Average Final Score

Average Final Score =
AVERAGE ( FactPerformance[FinalScore100] )

The verified result is 64.492 points out of 100, usually displayed as 64.49. AVERAGE ignores blank final scores in the numeric column. It is the mean of 1,410 graded student–subject–term records, not an unqualified average of distinct learners. If a student contributes more graded rows than another in a different dataset, they influence this record-level mean more strongly. Specify the level of aggregation whenever you present a group statistic.

KPI 5: Pass Rate under a fictional threshold

Passed Records =
CALCULATE (
    [Graded Records],
    FactPerformance[FinalScore100] >= 50
)

Pass Rate =
DIVIDE ( [Passed Records], [Graded Records] )

Our fictional passing threshold is 50 points, and 1,222 of 1,410 graded records meet it, giving 86.67%. Format Pass Rate as a percentage, but keep Average Final Score formatted as points out of 100. This result does not mean that 86.67% of students passed all subjects. If the denominator is zero after filtering, DIVIDE returns BLANK by default rather than fabricating a meaningful pass percentage.

KPI 6: Session-weighted Attendance Rate

Total Attended Sessions =
SUM ( FactPerformance[SessionsAttended] )

Total Scheduled Sessions =
SUM ( FactPerformance[SessionsScheduled] )

Attendance Rate =
DIVIDE ( [Total Attended Sessions], [Total Scheduled Sessions] )

The source contains 16,623 attended out of 20,742 scheduled sessions. The aggregate attendance rate is therefore 80.14%. This measure divides total sessions, rather than taking a simple average of individual attendance percentages. A small class with five scheduled sessions should not receive the same weight as a large subject group with many sessions when the question is “What fraction of all scheduled sessions was attended?” A zero denominator should yield no meaningful percentage, not an invented zero attendance.

Conceptual six KPI layout displaying validated synthetic academic metrics.
Figure 4. Instructional KPI wireframe generated from verified values. Not an authentic Power BI screenshot; the reader must create and test the actual visual cards in Desktop.

Additional DAX measures for quality and distribution

Grade Completion Rate =
DIVIDE ( [Graded Records], [Total Performance Records] )

Median Final Score =
MEDIAN ( FactPerformance[FinalScore100] )

Below-Threshold Records =
CALCULATE ( [Graded Records], FactPerformance[FinalScore100] < 50 )

Incomplete Records =
[Total Performance Records] - [Graded Records]

The independent reference values are 97.92% completed grades, a median of 64.305 points, 188 graded records below the illustrative threshold, and 30 incomplete grade records. Median complements the mean when results are skewed or affected by extreme observations. An incomplete assessment remains a quality status, not proof of student inability. When presenting rates, include the denominator alongside percentages, particularly after a narrow slicer selection.

Step 8 — Design the report before inserting charts

Use the report title “Student Academic Performance Analytics” above a clear fictional-data notice. The first horizontal row contains the six cards. Under it, place slicers for academic term, subject, study level and fictional region. The central visual area displays average score by subject, pass rate by subject and term comparison. The lower section contains score distribution, attendance by study level and assessment completeness. Finally, include grading weights, the threshold definition, source period, refresh date and limitations. This arrangement tells a coherent story: scale of the population, central findings, comparisons and data-quality caveats.

Step 9 — Create the KPI cards in Power BI Desktop

On the report canvas, insert the current supported Card visual for each primary measure. Drag one measure to each card’s data field, set a descriptive title and choose reasonable decimals. For example, show Total Performance Records as 1,440, Average Final Score as 64.49 / 100, and Pass Rate as 86.67%. Do not enter these reference numbers manually into decorative text boxes: the cards should read their actual measures from the model and recalculate when a relevant slicer or page filter is applied.

Step 10 — Chart: average score by subject

Insert a horizontal bar chart with DimSubjects[SubjectName] on the category axis and Average Final Score as the numeric value. Sort by score or by a consistent subject order, state the unit as points out of 100, and add Graded Records to a tooltip. Independent calculations show Computer Science at 69.92 points, Geography 66.17, Biology 65.81, Chemistry 63.09, Physics 61.03 and Mathematics 61.00. These are synthetic subject-group means, not evidence that a subject is intrinsically easy or difficult.

Verified synthetic average final score by school subject, with six bars and point labels.
Figure 5. Independently calculated subject means from graded CSV records; chart was generated programmatically, not captured from Power BI Desktop.

Step 11 — Chart: pass rate by subject

Insert a bar or column chart with SubjectName on the axis and Pass Rate as the value, formatted as a percentage. The highest synthetic record-level pass rate is Computer Science at 94.83%; Mathematics is 79.24%. Add Graded Records to the tooltip so that users know how many complete assessments support the displayed proportion. Apply the same illustrative 50-point rule to all subjects, and state that actual passing grades are institution-specific.

Step 12 — Chart: performance over academic terms

Create a line or clustered-column chart with DimTerms[TermName] on the axis and Average Final Score in Values. In the model, select TermName and use Sort by column → TermOrder so that Term 1 precedes Term 2. The validated averages are 63.55 points from 704 graded Term 1 records and 65.43 from 706 graded Term 2 records. These aggregate means differ by approximately 1.88 points. They do not prove that every learner improved because assessment completeness and distributions may differ.

Verified synthetic Term 1 and Term 2 mean final scores with graded sample sizes.
Figure 6. Independently calculated aggregate term means, not a screenshot of a functioning Power BI report.

A more careful comparison matches the same student–subject combination across the two terms and includes only pairs with valid final scores in both periods. The reference dataset contains 690 such matched pairs, with an average Term 2 minus Term 1 change of 1.79 points. This matched comparison answers a different question from the overall mean difference. Neither measure establishes why a change occurred; exams, scoring criteria and many unobserved influences may differ.

Step 13 — Create a score distribution that shows more than an average

A single average hides whether scores cluster near the threshold, vary widely or contain unusual values. For this exercise, classify each complete final score into one of seven nonoverlapping bands: 0–39, 40–49, 50–59, 60–69, 70–79, 80–89 and 90–100. These are reporting bands for the fictional project, not national grade categories or qualifications. Create ScoreBand and a numeric ScoreBandSort calculated column, then sort the label by the numeric order to avoid alphabetical mistakes.

ScoreBand =
VAR x = FactPerformance[FinalScore100]
RETURN
SWITCH (
    TRUE(),
    ISBLANK(x), "Incomplete",
    x < 40, "0–39",
    x < 50, "40–49",
    x < 60, "50–59",
    x < 70, "60–69",
    x < 80, "70–79",
    x < 90, "80–89",
    "90–100"
)

Place ScoreBand on the category axis and a count of graded records in Values. Filter out the separate Incomplete band when comparing grades, but report the omitted 30 records in a neighboring completeness view. The verified band counts are 34, 154, 329, 433, 301, 122 and 37, summing to 1,410. The labels are disjoint: a score of exactly 50 belongs to 50–59, while 49.99 belongs to 40–49.

Bar chart showing verified score-band frequencies across 1410 complete synthetic assessment rows.
Figure 7. Verified fictional score distribution; generated from the dataset, not from an authentic Power BI visual.

Step 14 — Analyze attendance without confusing association and causation

Place DimStudents[StudyLevel] on a column chart axis and Attendance Rate as the value. The fictional study-level rates are approximately 78.64% for Secondary Year 1, 79.75% for Secondary Year 2 and 82.04% for Foundation College. Because every attendance count belongs to a student–subject–term record, the valid group rate is total attended sessions divided by total scheduled sessions. Do not average the row-level percentages without weighting if your purpose is to describe the share of all scheduled sessions attended.

Verified synthetic attendance rate by study level based on totals of attended and scheduled sessions.
Figure 8. Group attendance figures from synthetic records. Differences do not demonstrate that attendance caused score changes.

Step 15 — Show assessment completeness as a separate quality measure

The main fact table contains 1,410 complete final grades and 30 records with one missing required component. Display a stacked column or two-bar comparison of Graded Records and Incomplete Records, optionally split by subject or term. The Grade Completion Rate is 97.92% for the full synthetic dataset. This chart matters because even a mathematically correct grade average can be misleading when the missing assessments are not random or when a filtered group has too few completed observations.

Do not mark missing exams as failed examinations. A blank may result from an import problem, an assessment not yet taken, an excusal or an unavailable source value. The supplied exercise does not infer which explanation applies. The best dashboard visibly separates completeness from performance and gives analysts a reason to review missingness instead of hiding it under a zero score.

Step 16 — Add the four interactive slicers

Insert slicers for SubjectName, TermName, StudyLevel and FictionalRegion. Use a dropdown layout when space is limited, and choose whether multiple selections should be allowed. Clear any selection before verifying baseline metrics. The selected subject and term should restrict fact rows through the three dimension-to-fact relationships, causing applicable measures to recalculate. A slicer is not a permanent change to underlying source data: it changes the current analytical context.

Step 17 — Understand cross-filtering versus cross-highlighting

Select Biology in the subject chart and observe the other report elements, then clear the selection and repeat with Mathematics. A full filter changes the context in which a measure is evaluated; cross-highlighting may show a selected subset while retaining background totals in another visual. They are not identical experiences. Use Format → Edit interactions, or the corresponding current interface control, to define which behavior supports the research question. Record the intended configuration in the project’s validation checklist.

Step 18 — Design the Subject Performance Details drillthrough page

Create a second report page named Subject Performance Details. Add SubjectName to the drillthrough filter area and include graded count, average points, record-level pass rate, grade completion, attendance, grade distribution and a term comparison. Power BI can add a back-navigation button for a configured drillthrough page. Use a consistent label and ensure that the page title identifies the subject selected by the visitor.

The intended behavior is simple: right-click a Biology data point in the overview and choose the subject-detail drillthrough; examine Biology-only values and return using Back. Then repeat with Mathematics. The data model and reference measures permit these calculations, but the interactions have not been executed or verified in Power BI Desktop in this environment. They should be reported as authoring and testing steps, not as a functioning .pbix already supplied.

Step 19 — Optional fictional student progress page

A third page may demonstrate progress for STU001 or another synthetic learner, using SubjectName, TermName, final points, attendance and assessment-completion status. Restrict its purpose to a fictional educational exercise. In a real school, even coded individual records can sometimes be reidentified when combined with context. Do not assume that changing names to codes makes publishing student-level data appropriate. Individual-level access, row-level security and workspace permissions require separate design and verification.

Step 20 — Add contextual tooltips

Add a subject tooltip that shows the subject name, Average Final Score, Graded Records, Pass Rate and Grade Completion Rate. This helps readers distinguish a compelling percentage from a well-supported percentage. A tooltip should not include dozens of distracting measures; its purpose is to clarify the number of relevant observations and explain a potential limitation. Check how it appears under both desktop hovering and touch or keyboard interactions where supported.

Step 21 — Compare matched fictional student-subject records

Overall Term 1 and Term 2 averages describe two collections of complete assessments, which may not contain identical rows when some grades are missing. To ask whether the same student–subject combinations changed, join the two terms by StudentKey and SubjectKey and keep only pairs with nonblank grades in both periods. The independent reference contains 690 matched pairs with a mean Term 2 minus Term 1 difference of 1.79 points. This is a stronger comparison of paired observations than subtracting two unrelated aggregates, but it remains descriptive.

Step 22 — Polish report layout without creating false precision

Step 23 — Independently validate the measures

Reconcile Total Performance Records, Graded Records, Students Assessed, Passed Records, Average Final Score, Pass Rate and Attendance Rate with the source CSV rather than trusting the appearance of the dashboard. The independent reference was calculated outside Power BI and verifies the 20/30/50 weighted formula on every complete row, the three dimensions’ unique keys, the 30 missing assessments and the absence of invalid attendance. A Power BI implementation is correct only if it reproduces those values under the same filters.

MetricIndependent referenceDefinition
Total Performance Records1,440Student–subject–term rows
Graded Records1,410Numeric FinalScore100, including zero
Students Assessed120Distinct student keys among complete grades
Average Final Score64.49 /100Arithmetic mean of complete grade records
Passed Records1,222Complete marks ≥50 points
Pass Rate86.67%1,222 / 1,410
Attendance Rate80.14%16,623 / 20,742 sessions
Grade Completion Rate97.92%1,410 / 1,440

Step 24 — Check five intended slicer scenarios

For each scenario below, select the filters in Desktop, record the results and compare them with the independent reference. The expected values were computed from the supplied CSV rows; they are not claims that these UI interactions have already been tested within Power BI. A pass requires cards, relevant charts and measure denominators to agree with the same filter context.

SelectionFact rowsGradedMean pointsPass rateAttendance
Mathematics24023661.0079.24%80.14%
Term 172070463.5584.66%80.13%
Secondary Year 148047062.3883.40%78.64%
Region B36035566.2791.27%80.60%
Mathematics + Term 1 + Secondary Year 1403957.6666.67%79.29%

This combined-selection test is particularly useful: selecting three different dimension attributes should produce only 40 fact rows and 39 graded records, not 240 or 720. If the report continues to display the overall 64.49 mean, its slicer or relationship configuration is wrong. If the report shows no records after an impossible combination, handle that state explicitly rather than filling a blank KPI with a convincing-looking zero.

Step 25 — Handle empty filters, missing scores and zero denominators

DAX measures such as DIVIDE normally return BLANK when the denominator is zero or blank, unless a documented alternate result is provided. For an empty subject and term selection, a blank pass rate should be explained as “No graded records in this selection,” not “0% passed” unless the data truly contain a nonzero denominator and zero passing records. Missing numeric grades should similarly remain absent from the average; the completion chart can show how much information is unavailable.

Step 26 — Refresh source data and investigate changes

To test refresh locally, make a reversible change to one fictional input, save the workbook and choose Refresh in Power BI Desktop. Inspect Power Query steps, relationships, KPI cards and filtered visuals. Confirm the expected difference independently and restore the original baseline if the project will be distributed to others. This is a reproducible exercise plan; no Power BI refresh was run here. Automatic refresh in a cloud workspace can require gateways, permission settings and supported licensing, so avoid promising universal background refresh.

Step 27 — Save an authentic Power BI project

Once the actual report pages and relationships work, choose File → Save and name the Power BI Desktop project student-performance-dashboard-power-bi.pbix. Close and reopen it in a compatible Desktop version, check all visuals and filter states, then document the software version and validation results. **No .pbix file is included with this package:** Microsoft Power BI Desktop was not available for authoring, executing DAX or reopening such a project here. A renamed ZIP or image does not satisfy that requirement.

Student data privacy and responsible interpretation

This project uses only fictional student codes, and the public article contains aggregate illustrations rather than real grades. For an authentic school, apply data minimization, restricted sharing, appropriate retention, access auditing, secure storage and suppression of identifying small groups. Policies differ among jurisdictions: the United States’ student privacy guidance is not automatically a global law. Ask the responsible institution to establish an authorized purpose and evaluate relevant regional rules before accessing or exposing actual learner records.

Assessment marks are influenced by grading design, missing submissions, instruction, course conditions and student circumstances. Descriptive group differences and attendance correlations do not establish cause. Do not use a simplistic 50-point threshold to automatically designate vulnerable learners, impose penalties or predict future success. A responsibly designed educational dashboard supports trained human review and further investigation, rather than replacing professional judgment.

Student Academic Performance Analysis with Power BI — Ten-question capstone

Use the complete synthetic workbook to answer the following research questions independently. For each question, choose the appropriate measure, state its denominator, create the corresponding visualization or table, then compare with the reference result. A correct static calculation does not automatically prove that slicers and drillthrough have been implemented; those interactions must be tested in Desktop before submitting a fully working report.

1. How many fictional students have a completed grade?

Power BI feature or DAX: Students Assessed — distinct StudentKey among graded records. Independently verified result: 120 unique fictional students. Interpretation: Every person contributes multiple records, so COUNTROWS would answer a different question. Student extension: Choose one subject and explain how the count should change.

2. How many records are fully graded?

Power BI feature or DAX: Graded Records — COUNT of numeric FinalScore100. Independently verified result: 1,410 of 1,440 records. Interpretation: Thirty incomplete rows are excluded from grade-based measures, not discarded from the source. Student extension: Describe how to track a valid recorded zero without treating it as missing.

3. What is the average graded final score?

Power BI feature or DAX: Average Final Score — AVERAGE of complete FinalScore100. Independently verified result: 64.492 points; show 64.49 /100. Interpretation: The average is computed over assessment rows, not over 120 learner-level means. Student extension: Recompute one student-weighted mean and explain why its question differs.

4. What percentage passes the illustrative threshold?

Power BI feature or DAX: Passed Records / Graded Records. Independently verified result: 1,222/1,410 = 86.67%. Interpretation: This describes graded records meeting 50 points, not students who passed every subject. Student extension: Calculate an alternative threshold and disclose it clearly.

5. Which subjects have the highest and lowest means?

Power BI feature or DAX: Average Final Score by SubjectName with Graded Records tooltip. Independently verified result: Computer Science highest 69.92; Mathematics lowest 61.00. Interpretation: The synthetic design includes subject offsets; observed ranking is not a claim of subject difficulty. Student extension: Explain how different missingness could affect the ranking.

6. How does pass rate vary by subject?

Power BI feature or DAX: Pass Rate by SubjectName. Independently verified result: Computer Science 94.83%; Mathematics 79.24%. Interpretation: Include graded sample sizes; comparisons depend on fictional pass policy. Student extension: Create a table containing both percentages and denominators.

7. What is overall attendance?

Power BI feature or DAX: SUM attended / SUM scheduled. Independently verified result: 16,623 / 20,742 = 80.14%. Interpretation: Session-weighted attendance describes a fraction of scheduled sessions, not an unweighted mean of row percentages. Student extension: Compare attendance in Secondary Year 1 and Foundation College.

8. How do overall term means compare?

Power BI feature or DAX: Average Final Score by DimTerms TermOrder. Independently verified result: Term 1 63.55; Term 2 65.43. Interpretation: Aggregate difference is about 1.88 points; matched-pair comparison asks a different question. Student extension: Explain why the 690 matched pairs show a mean difference of 1.79 points.

9. How many assessment records are incomplete?

Power BI feature or DAX: Incomplete Records and Grade Completion Rate. Independently verified result: 30 incomplete; 97.92% complete. Interpretation: Ten records miss each of quiz, assignment or examination; blank is not a zero. Student extension: Create an assessment-completeness chart by subject.

10. What five responsible conclusions can you draw?

Power BI feature or DAX: Interpret the cards, chart sample sizes and quality warnings. Independently verified result: 120 fictional students; 1,410 complete grades; mean 64.49; attendance 80.14%; 30 incomplete rows. Interpretation: These are demonstration facts only: no causal claims, predictions or punitive classifications follow. Student extension: Write an educational analytics report that makes limitations prominent.

20 original student exercises — solutions hidden until opened

Complete the exercises in four levels. Each answer reveals a correct method and the independent reference where possible; interactive report configuration still requires a local Power BI test. Try the method without opening its answer, state your expected number of rows or measure definition and check your result against the provided workbook and validation JSON.

Level 1 — Data foundations

Exercise 1: Identify the unit of analysis

Objective: Explain why the fact table has 1,440 rows but only 120 students. Hint: Multiply students by subjects and terms.

Show solution and success criteria

Solution: The grain is one StudentKey × SubjectKey × TermKey; 120 × 6 × 2 = 1,440. Counting rows does not count students.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 2: Import the four tables

Objective: List the expected rows in each import. Hint: Use Power BI Navigator and the workbook dictionary.

Show solution and success criteria

Solution: DimStudents 120; DimSubjects 6; DimTerms 2; FactPerformance 1,440. Check these before building visuals.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 3: Check dimension keys

Objective: Which columns must be unique on the one side? Hint: Review the star schema and DataDictionary.

Show solution and success criteria

Solution: StudentKey, SubjectKey and TermKey must be unique in their corresponding dimension tables; all pass source validation.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 4: Validate attendance

Objective: How can you detect an invalid attendance value? Hint: Test nonnegative whole counts and attended ≤ scheduled.

Show solution and success criteria

Solution: Use a conditional validation rule in Power Query; zero rows violate the rule in the fictional dataset.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 5: Create the relationships

Objective: Which direction should filters travel in the beginner model? Hint: Use dimensions as the one side.

Show solution and success criteria

Solution: Three one-to-many relationships flow from each dimension to FactPerformance, normally single direction.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Level 2 — DAX and academic calculations

Exercise 6: Compute a weighted final mark

Objective: Calculate quiz 80, assignment 70, exam 60. Hint: Weights are 20%, 30%, 50%.

Show solution and success criteria

Solution: 80×.20 + 70×.30 + 60×.50 = 67 points, not 67% stored as a 0–1 decimal.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 7: Count complete grades

Objective: Write a Graded Records measure. Hint: COUNT on numeric final scores.

Show solution and success criteria

Solution: COUNT(FactPerformance[FinalScore100]) returns 1,410 overall; it includes valid numeric zero.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 8: Count assessed learners

Objective: Why is DISTINCTCOUNT needed? Hint: A student contributes several fact rows.

Show solution and success criteria

Solution: Distinct assessed StudentKey returns 120 overall, not 1,440.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 9: Calculate the pass rate

Objective: Define numerator and denominator. Hint: Passed graded records / all graded records.

Show solution and success criteria

Solution: 1,222 / 1,410 = 86.67%. This is not a rate of students passing all six subjects.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 10: Calculate attendance

Objective: Explain why to use sums, not an unweighted average of percentages. Hint: SUM attended divided by SUM scheduled.

Show solution and success criteria

Solution: 16,623 / 20,742 = 80.14%. Use DIVIDE to handle zero denominators.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Level 3 — Dashboard visualizations

Exercise 11: Design six cards

Objective: Specify label, unit and proper formatting for six KPI cards. Hint: A score is points; a rate is a proportion.

Show solution and success criteria

Solution: Display 1,440; 1,410; 120; 64.49 /100; 86.67%; 80.14% with clear captions.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 12: Build the subject chart

Objective: Which subject has the largest mean in the synthetic sample? Hint: Use SubjectName and Average Final Score.

Show solution and success criteria

Solution: Computer Science = 69.92 /100; it is a synthetic result, not evidence of easier coursework.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 13: Sort the two academic terms

Objective: Why is TermOrder important? Hint: Sort TermName by TermOrder.

Show solution and success criteria

Solution: Term 1 = 63.55 and Term 2 = 65.43 in chronological order; the chart must not rely on arbitrary text sorting.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 14: Test a Mathematics slicer

Objective: Predict 4 filtered measures. Hint: Use DimSubjects SubjectName filter.

Show solution and success criteria

Solution: 240 fact rows; 236 graded; 61.00 average points; 79.24% pass rate; 80.14% attendance.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 15: Build score bands

Objective: How many complete scores fall into each nonoverlapping band? Hint: Use ScoreBand and ScoreBandSort.

Show solution and success criteria

Solution: 0–39:34; 40–49:154; 50–59:329; 60–69:433; 70–79:301; 80–89:122; 90–100:37, sum 1,410.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Level 4 — Responsible reporting

Exercise 16: Preserve missing assessments

Objective: How many incomplete grades exist and why are they not failures? Hint: Check required fields before computing FinalScore100.

Show solution and success criteria

Solution: 30 records have one missing component; the score stays blank pending an approved rule.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 17: Test combined slicers

Objective: Choose Mathematics, Term 1 and Secondary Year 1. Hint: Cross-check independent filter combinations.

Show solution and success criteria

Solution: 40 fact rows, 39 graded, 57.66 average points, 66.67% pass rate, 79.29% attendance.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 18: Create a subject-detail page

Objective: How would you set up drillthrough and back navigation? Hint: Place SubjectName in the Drillthrough filter.

Show solution and success criteria

Solution: Create Subject Performance Details with subject measures and a back button; test Biology and Mathematics in Power BI Desktop.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 19: Protect actual student information

Objective: List four safeguards before real-world data sharing. Hint: Think permissions, retention, minimization and public embedding.

Show solution and success criteria

Solution: Use authorized restricted access; minimize data, protect stored records, suppress small groups and avoid Publish to web for confidential records.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Exercise 20: Interpret trends carefully

Objective: Does a higher Term 2 aggregate mean prove every learner improved? Hint: Contrast grouped means with matched pairs.

Show solution and success criteria

Solution: No. Term 1 63.55 and Term 2 65.43 are group means; the 690 matched student-subject pairs have an average change of 1.79 points; neither proves causation.

Success criteria: explain the population, reproduce the result from the fictional source and distinguish source calculation from Power BI interaction testing.

Four-week learning roadmap

WeekMain focusDemonstrable outcome
1 — Prepare dataGet Power BI Desktop, import tables, profile missingness and validate rangesExplain the fact grain and account for 1,410 complete plus 30 incomplete grade rows
2 — Model and DAXCreate three relationships, weighted scores, six measures and completion analysisReproduce 64.49 average points, 86.67% pass rate and 80.14% attendance
3 — VisualizationsBuild cards, subject comparisons, term trend, distribution and slicersPredict and independently check Mathematics and Term 1 filter contexts
4 — Validation and ethicsConfigure drillthrough and tooltips, refresh, reopen .pbix and write reportSupply actual Desktop evidence and a privacy-conscious interpretation

Twenty-five common student dashboard mistakes and their corrections

MistakeCorrection
Using real names in a public demonstrationUse fictional codes and restricted source files.
Calling 1,440 records “students”Count unique StudentKey for learner totals.
Adding weights incorrectlyCheck .20 + .30 + .50 = 1.00.
Replacing missing grades with zeroPreserve missingness until a documented institutional rule exists.
Calling incomplete assessments failedSeparate Grade Completion from Pass Rate.
Assuming 50 is a universal pass gradeMark the threshold as illustrative.
Showing 67 points as 6,700%Format FinalScore100 as points out of 100.
Averaging attendance percentages blindlyUse sums of attended and scheduled sessions.
Dividing by zero scheduled sessionsReturn BLANK or a justified unavailable label.
Ignoring duplicate Student–Subject–Term keysValidate the fact-table grain before loading.
Creating unnecessary many-to-many relationshipsUse three unique dimension keys and one-to-many filtering.
Importing text numbers as numeric values by appearanceInspect types and conversion errors in Power Query.
Confusing calculated columns and measuresDescribe row-processing versus filter-context evaluation.
Forgetting DAX filter contextTest measures after each slicer selection.
Using different students to imply individual improvementMatch the same student and subject across terms.
Sorting terms as arbitrary textUse TermOrder.
Hiding the graded denominatorShow Graded Records alongside rate-based claims.
Displaying misleading axes and excessive colorsUse meaningful scales, restrained styling and labels.
Using red flags to label individualsUse appropriate nonpunitive quality indicators.
Assuming every slicer controls every visualTest and configure Edit interactions.
Forgetting refreshCheck source updates and reread validation metrics.
Calling a mockup a functioning reportLabel computed illustrations as illustrations.
Confusing Desktop reports with service dashboardsExplain the two product objects accurately.
Assuming Publish to web is privateTreat it as public internet disclosure.
Claiming a PBIX works without reopening itOpen and test the genuine Power BI report in Desktop.

Student performance dashboard versus other school dashboards

An academic-performance dashboard focuses on assessed learning outcomes, completeness and related attendance. A school-operations dashboard may instead report enrolment, staffing, facilities, budgets or resource allocation. A learning-engagement dashboard can track video views, reading sessions and platform activity. These are different measurement systems. Opening more learning resources does not automatically mean a student understood them, and attendance counts are not substitutes for validated academic assessments.

Download the Power BI student analytics learning package

The following files are installed in the Notes for SHS WordPress media library. The Excel workbook contains the complete fictional source and validation tabs. PDF resources provide the DAX guide, Desktop build instructions, 20 exercises, answer guide, capstone and audit checklist; the DOCX template supports independent student reports. The complete ZIP with CSV files and additional images is available separately with the project package. There is deliberately no fake .pbix.

Optional Power BI courses for further study

If you need guided video practice after completing the free dataset, compare Power BI Fundamentals on Coursera and Microsoft Power BI for Beginners: Build Dashboards on Udemy. Their provider pages currently describe relevant import, transformation, DAX and reporting content. These are ordinary course-information links: verified affiliate tracking parameters were not available, and no price, discount, certificate or guaranteed outcome is claimed. Course enrollment is optional.

Frequently asked questions

What is a student performance dashboard?

A report that summarizes selected educational indicators, such as assessed scores, attendance and grade completeness, for a clearly defined group and purpose.

Can I build the project for free?

Power BI Desktop supports local report authoring on eligible Windows systems. Cloud collaboration, sharing and some service features depend on licensing and organizational permissions.

Does this package include a functioning PBIX?

No. It includes import-ready fictional data and tested external reference metrics. A .pbix must be created, saved and reopened using Power BI Desktop.

How is the weighted mark calculated?

Quiz 20%, assignment 30%, examination 50%. For scores 80, 70 and 60, the final result is 67 points.

How do I calculate an average grade with DAX?

AVERAGE(FactPerformance[FinalScore100]) computes a mean of numeric completed grades in current filter context; the reference overall result is 64.49 points.

Why is the pass rate 86.67%?

1,222 of 1,410 complete assessment records meet the fictional 50-point threshold. It is a record-level pass rate, not a unique-student success rate.

How should missing exams be handled?

Leave the final mark blank until an approved scoring rule can be applied. A valid zero score is not a blank.

What is the difference between a calculated column and a measure?

A calculated column produces a row-level stored result during model processing, while a measure is evaluated in the current filter context.

Can slicers filter attendance and academic scores?

Yes, when built on appropriate related dimensions and configured interactions; actual behavior must be tested in Power BI Desktop.

How can I compare terms fairly?

Show graded sample sizes, order terms chronologically and consider matched student-subject pairs rather than treating aggregate differences as individual improvement.

How do I protect student privacy?

Use synthetic data for public teaching, limit real data collection, restrict access, follow institutional and local rules and avoid public embedding of confidential student-level information.

Is a Desktop report the same as a Power BI service dashboard?

No. Desktop creates report pages. The Power BI service separately supports formal dashboards and permission-controlled distribution.

Conclusion — build trust before building charts

A useful student performance report is not simply a collection of polished visuals. It starts with explicit academic definitions, privacy-safe data and a reliable unit of analysis. This project preserves the distinction between 120 fictional students and 1,440 academic records, computes 1,410 complete marks without inventing scores for the 30 incomplete rows, and uses correct denominators for pass rate and attendance. The final workflow is Define questions → Prepare data → Validate → Model → Calculate → Visualize → Filter → Reconcile → Interpret.

When you implement the project inside Power BI Desktop, the real test is whether its DAX cards and charts agree with those independently verified source results after each filter, and whether a subject drillthrough page behaves as intended. If the report deviates, investigate its relationships, data types, measure definitions and visual interactions. Save an authentic .pbix only after the full implementation works. Use the teaching package as a reproducible foundation, not as a substitute for executing and checking the Microsoft software.

Finally, interpret academic figures as evidence to be reviewed, not as automatic judgments about learners. No single dashboard can establish why a group scored differently, why a record is incomplete or what an individual will achieve next. Responsible educational analytics combines mathematical correctness with context, appropriate privacy controls and thoughtful human oversight.

Official Microsoft documentation and educational privacy references

Related Notes for SHS lessons