MSBA-132 · Lesson 11 of 12 · 20 min
Fundamentals of good data
▶ Video coming soon A video version of this lesson is on the way.
By midterm, Lumenvale had three reports on tutoring: Kwabena's, one the Lakeshore campus coordinator had built herself from an export, and a spreadsheet the finance office used for tutor pay. At a meeting, the three showed three different totals for October tutoring hours: 1,412, 1,387 and 1,455. Every number was calculated correctly from its own data. The problem was not arithmetic; it was data. This lesson covers the fundamentals that make data trustworthy: quality, structure, a single source of truth, documentation, privacy and governance. None of it is glamorous, and all of it decides whether people believe the numbers.
What makes data good
Data quality is often described in terms of a handful of dimensions. Each one is a question you can ask about a dataset.
| Dimension | Question | Tutoring example of a problem |
|---|---|---|
| Accuracy | Do values match reality? | 600 minutes entered for a 60-minute session |
| Completeness | Are required values present? | Completed sessions with no minutes recorded |
| Consistency | Do the same facts agree everywhere? | Lakeshore written three different ways |
| Validity | Do values follow the rules and formats? | A session date in the year 2062 |
| Uniqueness | Is each real-world thing recorded once? | The same session imported twice |
| Timeliness | Is the data current enough for its use? | A report showing last week's data on Monday |
Most of this course has already addressed these dimensions without naming them. Choice columns in Dataverse protect consistency and validity. Business rules protect accuracy and completeness. Alternate keys protect uniqueness. Scheduled refresh protects timeliness. Power Query profiling reveals all six. The best place to fix a quality problem is as close to the source as possible: a business rule that stops a bad value being entered is better than a Power Query step that cleans it up later, which in turn is better than a DAX measure that works around it.
Fix it at the source
When Kwabena found the three different October totals, he traced each one back. The coordinator's spreadsheet included sessions that had been booked but later cancelled. The finance spreadsheet counted sessions by the date tutors submitted their pay claims, not the date the session happened. His own report excluded cancelled sessions and used the session date. None was wrong, exactly; they answered different questions using different rules. The fix was not a better formula but an agreement: the Student Success office decided that "tutoring hours" means completed sessions counted by session date, and wrote it down.
That agreement is called a business definition, and the most valuable thing an analyst can do is get definitions agreed and recorded before building measures. A short glossary of definitions, kept where everyone can find it, prevents more confusion than any amount of report design.
Structure: tidy tables and the star schema
Power BI works best with data shaped in a particular way. Each table should describe one kind of thing; each row should be one instance of it; and each column should hold one kind of value. Spreadsheets designed for people often break these rules with merged cells, subtotals in the middle of data, several values in one cell or months spread across columns. Lesson 4's Power Query tools, such as unpivot and split column, exist to fix exactly these shapes.
For semantic models, the recommended structure is the star schema. It separates data into two kinds of table.
Fact tables record events or measurements: tutoring sessions, course registrations, payments. They tend to have many rows and contain numbers that can be added up, such as minutes, seats or revenue, plus key columns that link to dimensions. Dimension tables describe the things involved in those events: dates, tutors, programs, campuses. They have fewer rows and contain descriptive columns used to filter and group, such as a program's category or a date's term.
Relationships run from each dimension to the fact table, one-to-many, and filters flow from dimensions to facts. Selecting "Lakeshore" in the Campus dimension filters the fact table to Lakeshore's rows, and every measure on the fact table responds. The shape looks like a star, which gives it its name. A star schema makes models smaller and faster, makes DAX simpler and makes Copilot's job easier, because the meaning of each table is clear.
Every model that looks at data over time should have a proper date table: a dimension with one row per day, covering the whole period of the data, with columns such as month, term and fiscal year. A date table lets reports group and filter by any period and is required for DAX time intelligence functions such as year-to-date totals. MSBA-261 builds date tables and star schemas in depth.
Data types and naming
Small habits prevent large problems. Set the correct data type for every column early: dates as dates, money as fixed decimal or currency, IDs as text when they are not meant to be added up. Name tables and columns in plain language that report readers and Copilot will understand, such as Session Start rather than strt_dt. Hide technical columns, such as keys used only for relationships, from report view. Give every measure a clear name and a description. These habits cost minutes when building a model and save hours for everyone who uses it.
One version of the truth
The three October totals happened because three people built three datasets. Power BI has features designed to reduce that duplication.
Shared semantic models. Instead of every author importing the same data, one well-built semantic model can serve many reports through live connections. The coordinator who wanted her own Lakeshore charts could build a new report on Kwabena's model, with Build permission, and her numbers would match his automatically, because they came from the same measures.
Endorsement. Power BI lets content be marked as promoted or certified. Any author with write permission can promote an item to signal that it is ready for others to use. Certification is stronger: only people an administrator has authorized can certify, and it signals that the item meets the organization's quality standards. Certified and promoted items appear first when people search for data, which steers them toward the trusted source. Lumenvale's data governance group certified Kwabena's tutoring model after reviewing its definitions, and the finance office rebuilt its pay report on it.
Dataflows and Fabric. For data used by several models, a dataflow or a Fabric lakehouse can hold cleaned, shared tables so that the preparation happens once.
Worked problem
Resolving the three totals
Three reports show October tutoring hours of 1,412, 1,387 and 1,455. After investigation: report A excludes cancelled sessions and uses session date; report B includes cancelled sessions; report C uses pay claim date. The office defines tutoring hours as completed sessions by session date. Which report is correct, and what should happen to the others?
Show solution
- Report A matches the agreed definition: completed sessions, by session date.
- Report B overstates hours by including cancelled sessions.
- Report C answers a different question, hours claimed in October, which finance may still need under its own clear name.
- Certify the model behind report A, rebuild B on it, and rename C's measure as Hours Claimed so it is not confused with Tutoring Hours.
Answer: Report A. Rebuild B on the certified model, and keep C only with a distinct name and definition.
Documentation
A model no one understands is a model no one trusts. Documentation does not need to be long. Kwabena kept four things for every model: a one-page description of its purpose, sources and refresh schedule; the business definitions of its measures, also entered as measure descriptions; a list of known limitations, such as "sessions before September 2026 were entered in spreadsheets and may be incomplete"; and the name of a backup owner. Descriptions entered in the model are visible to report authors when they hover over a field and are read by Copilot, so the effort pays off twice.
Privacy and personal data
Tutoring data is about students, and student data is personal information protected by law, including provincial privacy legislation for public post-secondary institutions in British Columbia. Good data practice includes collecting only what is needed, limiting who can see it and removing identifying details where they are not needed.
In practice, that meant several decisions at Lumenvale. The semantic model kept student IDs, which coordinators needed for follow-up, but the dean's pages showed only aggregate counts, never names. Row-level security limited coordinators to their own campus. The model was labelled Confidential with a Microsoft Purview sensitivity label, so the label followed any export to Excel or PDF. Small groups were suppressed: any count below five students was shown as "fewer than 5" on pages seen by wider audiences, so that individuals could not be identified by elimination. These are not legal requirements spelled out in Power BI; they are judgements the organization makes, and an analyst should raise them early rather than after a report is shared.
Governance
Data governance is the set of roles, policies and tools an organization uses to manage data as an asset. In a Power BI context it includes who may create workspaces, which content is certified and by whom, how sensitive data is labelled, which tenant settings are on, and how usage is monitored. Microsoft Purview extends this across the organization with a data catalogue, data loss prevention and audit; the Power BI and Fabric admin portal holds tenant settings; and usage metrics show which reports people actually use.
For a report author, governance mostly means working with it rather than around it: building in shared workspaces, using certified models, labelling sensitive content, and asking before turning on features such as publish to web. At Lumenvale, Rupert's governance group met monthly and kept a simple rule: "one definition, one certified model, many reports".
Preparing data for AI
Every principle in this lesson matters even more when Copilot is involved. Copilot reads table names, column names, descriptions and relationships to work out what a question means. Ambiguous names, missing descriptions, duplicate measures with slightly different definitions and messy schemas lead directly to confident wrong answers. A clean star schema with clear names, agreed definitions in measure descriptions and the Prep data for AI settings from lesson 8 is the best preparation for AI that an analyst can provide.
Measuring data quality over time
Quality is not a one-time clean-up. Kwabena built a small data quality page in the tutoring report, visible only to the Student Success leadership audience. It showed, for each week, the number of completed sessions with missing minutes, sessions with durations outside the allowed range, duplicate sessions detected by the alternate key, and the time since the last successful refresh. Each measure was simple, but together they made quality visible. When a campus's missing-minutes count rose, the coordinator knew within days, not at the end of term.
The same idea scales up. Many organizations define a few data quality rules for each important table, measure how many rows break them, and track the results over time, with an owner responsible for each table. Microsoft Purview offers data quality features for this across the organization; at Lumenvale's scale, a page in Power BI was enough.
Worked problem
Classifying tables
Classify each table in the tutoring model as a fact or a dimension: (a) Tutoring Session, with minutes and status; (b) Tutor, with name, subject and campus; (c) Date, with term and week; (d) Course Section, with title and instructor; (e) Tutor Payment, with amount and payment date.
Show solution
- (a) Events with numbers to add up: fact.
- (b) Descriptions of tutors: dimension.
- (c) Descriptions of days: dimension (the date table).
- (d) Descriptions of sections: dimension.
- (e) Payment events with amounts: fact.
Answer: Facts: Tutoring Session and Tutor Payment. Dimensions: Tutor, Date and Course Section.
Common mistakes
MistakeBuilding measures before the business definitions are agreed.
InsteadAgree and record definitions first, then build one measure for each.
MistakeCleaning the same problem in Power Query every month.
InsteadFix quality problems as close to the source as possible, for example with a business rule or a choice column.
MistakeLetting every author import their own copy of the same data.
InsteadBuild one shared semantic model, certify it and let others build reports on it.
MistakeShowing small counts of students to wide audiences.
InsteadAggregate, suppress small groups and use row-level security and sensitivity labels.
Summary and key terms
- Data quality dimensions include accuracy, completeness, consistency, validity, uniqueness and timeliness.
- Fix problems as close to the source as possible, and agree business definitions before building measures.
- A star schema separates fact tables (events and numbers) from dimension tables (descriptions), with filters flowing from dimensions to facts.
- A date table is needed for analysis over time and for time intelligence.
- Shared semantic models and endorsement, promoted or certified, create one version of the truth.
- Short documentation, privacy safeguards such as aggregation and labels, and governance make data trustworthy, for people and for Copilot.
- Data quality dimension
- One aspect of data quality, such as accuracy or completeness.
- Business definition
- An agreed, written meaning for a measure or term.
- Star schema
- A model design with fact tables surrounded by dimension tables.
- Fact table
- A table of events or measurements with numbers to aggregate.
- Dimension table
- A table of descriptive attributes used to filter and group facts.
- Certified
- An endorsement showing that an item meets the organization's quality standards.
- Data governance
- The roles, policies and tools used to manage data as an asset.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Which quality dimension does a duplicate import of the same session break?
Show answer
Uniqueness.
In a star schema, which way do filters flow?
Show answer
From dimension tables to the fact table.
What is the difference between promoted and certified content?
Show answer
Any author with write permission can promote; only people authorized by an administrator can certify, signalling the item meets quality standards.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.