Microsoft Fabric insight

Data Quality Monitoring in Microsoft Fabric: Rules, Owners and Alerts for AI-Ready Data (Power BI Demo)

Data quality monitoring in Microsoft Fabric and Power BI - rules engine, data owners, alerts and daily snapshots for AI-ready data, by Atlas BI

Every organisation that is serious about AI eventually hits the same wall: the answers are only as good as the data underneath them. Copilot, Fabric data agents and machine learning models do not know that a supplier exists twice, that a leaver is still marked active or that a third of last month’s costs were posted without a cost centre. They simply repeat what they find, quickly and confidently.

That is why data quality monitoring has to come before AI, not after it. This article walks through a data quality reporting solution built in Microsoft Fabric and presented in Power BI. Raw data from four source systems lands in a Bronze lakehouse, a PySpark notebook checks it against 31 rules agreed with the business, and every bad record from every system is written to one unified data quality table, with an owner, a steward and instructions for fixing it in the source. A daily snapshot shows whether quality is improving, and alerts tell owners the moment new bad data appears.

The organisation in the demo is fictional and all data is synthetic. The source tables mirror Microsoft Dynamics 365 Finance & Operations, iTrent HR, Salesforce and a SharePoint asset register, and the approach is the one we use with real clients.

Watch the data quality demo

A walkthrough of the solution, from why data quality comes before AI, through the rules engine in Fabric, to every report page:

Data quality reporting in Microsoft Fabric and Power BI: rules, owners, alerts and daily snapshots

Key takeaways

  • AI amplifies whatever is in your data. Measure and fix data quality before rolling out Copilot, data agents or machine learning.
  • All the logic lives in Microsoft Fabric: Bronze data, a rules table owned by the business and a PySpark notebook that runs every rule. Power BI only presents the results.
  • Every bad record from every system and business area lands in one unified table, in the same shape, so reporting is simple.
  • Each rule has a data owner (accountable) and a data steward (fixes in source), plus a severity and a target.
  • An issue log tracks when each problem was first detected, so new bad records can trigger alerts the same morning.
  • Daily snapshots prove progress: in the demo, bad records more than halved in 90 days and the score rose from 95.1% to 97.7%.

Why data quality comes before AI

Most AI projects start with the model and discover the data problems later. By then, users have already seen a wrong answer and trust has gone. In our experience preparing data for AI and Copilot, the same issues appear in almost every organisation:

  • Duplicates – the same supplier, customer or contact exists two or three times, so spend, revenue and contact history are split and totals are wrong.
  • Missing values – costs without cost centres, employees without NI numbers or line managers, customers without credit limits.
  • Invalid values – bank details in the wrong format, invalid postcodes, emails that cannot receive anything.
  • Systems that disagree – an HR cost centre that does not exist in the ERP, a CRM customer that is not linked to the finance system, an asset that is not in the fixed asset register.
  • Out-of-date data – leavers still marked active, dormant suppliers still open for payment, safety inspections overdue.

Each of these looks small on its own. Together they decide whether a Copilot answer about margin, a data agent’s view of supplier spend or a payment forecast can be trusted. They are also the issues regulators, auditors and boards ask about. The fix is not a one-off cleanse in a spreadsheet: it is continuous, rule-based data quality monitoring with clear ownership.

We covered the principles in data quality reporting in Microsoft Fabric and Power BI. This demo shows what it looks like in practice.

What the demo covers

ItemIn the demo
Source systemsDynamics 365 F&O (vendors, customers, GL journal lines), iTrent HR (employees), Salesforce (accounts, contacts), SharePoint asset register
Bronze tables7 raw tables, 160,037 records scanned on every run
Rules31 rules agreed with the business, across completeness, validity, uniqueness, consistency and timeliness
Business areasFinance, Procurement, HR, Sales and Facilities
Data owners6 owners, each with a data steward team that fixes records in the source system
History90 days of daily snapshots, from before data quality reporting went live
Report8 Power BI pages, green for good data and red for bad data throughout

How it works in Microsoft Fabric

Data quality architecture in Microsoft Fabric - source systems to Bronze lakehouse, PySpark rules engine notebook, unified dq_results table, daily snapshots, Power BI and Activator alerts
The whole solution lives in one Fabric workspace: Bronze lakehouse, rules notebook, data quality tables, report and alerts.

The design principle is simple: data quality is calculated in Fabric, not in Power BI. The report never decides what is good or bad; it presents what the notebook has already worked out. That keeps the rules in one place, makes them testable and means the same results can feed other tools, including AI.

1. Bronze: raw data, exactly as it arrives

A Fabric pipeline copies each source into a Bronze lakehouse every morning at 06:00, without cleansing anything. Checking raw data is deliberate: if quality is measured after transformation, problems are hidden rather than fixed. (If you are choosing between storage options, see lakehouse vs data warehouse in Microsoft Fabric.)

2. Rules as data, owned by the business

Rules are not hard-coded. They live in a dq_rules table with an owner, severity, target and the check itself, and a dq_owners table that maps each business area to a data owner and data steward. Adding a rule means adding a row. A few examples:

RuleDimensionSeverityOwner
UK vendor missing VAT numberCompletenessHighHead of Procurement
Vendor bank sort code invalidValidityCriticalHead of Procurement
Duplicate customer (name and postcode)UniquenessHighCredit Control Manager
Expense posted without cost centreCompletenessHighFinancial Controller
Manual journal over £50k without approverConsistencyCriticalFinancial Controller
Leaver still activeConsistencyCriticalHR Director
iTrent cost centre not found in D365ConsistencyHighHR Director
Salesforce customer not linked to D365ConsistencyHighHead of Sales Operations
Safety inspection overdueTimelinessHighFacilities Manager

Targets follow severity: Critical rules must be at 100% (zero tolerance), High at 99%, Medium at 97% and Low at 95%.

3. The rules engine: one PySpark notebook

PySpark rules engine in a Microsoft Fabric notebook - every data quality rule becomes one SQL statement and writes bad records to one unified table
The core of the rules engine: each rule becomes one SQL statement, and every bad record is written in the same shape.

The notebook nb_dq_rules_engine reads the rules, turns each into a SQL statement against Bronze and unions the results. Uniqueness rules use a window function; everything else is a WHERE clause agreed with the data owner. Because every rule returns the same columns (rule, record key, record label, failing value), all systems and areas land together.

4. One unified data quality table

The output is dq_results: one row per bad record per rule, enriched with the owner, steward, severity, how to fix it in the source, the date it was first detected and how many days it has been open. Supporting tables complete the picture:

  • dq_issue_log – one row per issue with first detected, last seen and resolved dates, maintained with a Delta MERGE.
  • dq_rule_checks – records checked, passed, failed and new today for each rule on each run.
  • dq_snapshot_daily – an aggregated daily snapshot per rule, appended after every run, so progress can be tracked over time.
  • dq_run_log – every notebook run with duration, records scanned and status.

5. Power BI presents, Activator alerts

A Direct Lake semantic model sits over the data quality tables, so the report picks up each run without a scheduled import. A Fabric Activator rule watches New bad records today and emails the data owner and steward, with a Teams post for the data team, when it is above zero. Critical rules alert on a single record.

Want to see it running? We can give you live access to the demo report, or book a no-obligation chat about data quality on your own systems.

Inside the data quality report, page by page

1. Data Quality Overview

Data quality dashboard in Power BI on Microsoft Fabric - DQ score, good vs bad records by source system, score trend and business area scorecard
The overview: data quality as of this morning’s run, by source system and business area.

The overview shows the current state as of this morning’s run. In the demo, 160,037 records were checked, the data quality score is 97.7%, 3,620 records are bad, 84 are new today and 218 are critical. Good and bad records are shown by source system, the score trend comes from the daily snapshots and a scorecard compares each business area with its target.

Data quality KPIs - records checked, data quality score, bad records, new bad records today, critical issues and rules meeting target

Who uses it: data owners, the data governance lead, finance and operations leadership.

Questions it answers:

  • How good is our data today, overall and by system?
  • How many bad records are critical, and how many appeared since yesterday?
  • Which business areas are below target?

2. Data Owners & Accountability

Data owner and data steward accountability matrix in Power BI - DQ score, open bad records, new today and critical issues by owner
Every rule has an owner who is accountable and a steward who fixes records in the source system.

Ownership is what turns a report into action. The accountability matrix lists each data owner, their data steward team, business area, score, open bad records, new today and critical issues, with a breakdown of open records by severity.

3. Rules Catalogue

Data quality rules catalogue in Power BI - completeness, validity, uniqueness, consistency and timeliness rules with severity, target and rule logic
The rule catalogue documents what good data means, how each rule is checked and its target.

The catalogue makes the rules transparent: dimension, severity, Bronze table, field, rule logic, target and today’s score. In the demo only 10 of 31 rules meet their target, which is typical early in a data quality programme and exactly why targets matter.

4. Bad Records to Fix in Source

Data quality fix list in Power BI - bad records by owner, source system, rule, failing value, days open and how to fix in the source system
The fix list comes straight from the unified dq_results table.

The fix list is the working page for data stewards. Each bad record shows the owner, system, entity, record, rule, field, failing value, severity, first detected date, days open, whether it is new today and exactly how to fix it in the source system. Fixing in the source matters: patching data in a report hides the problem from every other system and from AI.

5. New Today & Alerts

New bad records today in Power BI - data quality alerts with Fabric Activator to data owners and stewards, new vs resolved records
Bad records first detected in this morning’s run, and the alert that goes to owners.

This page lists the bad records first detected today, by rule, alongside new versus resolved records for the last 30 days and the alert rule. In the demo, 84 new bad records were detected and 85 were resolved since yesterday, including 10 critical new records such as manual journals over £50k without an approver.

6. Progress & Daily Snapshots

Data quality progress in Power BI from daily snapshots - DQ score by business area, bad records by source system, new vs resolved by week
Daily snapshots show whether data quality is improving, by business area and source system.

Because the notebook saves a snapshot every day, progress is visible. Since data quality reporting went live, bad records fell from 7,446 to 3,620 (down 51.4%) and the score rose from 95.1% to 97.7%, with resolved records outpacing new ones every week. The rule progress table shows each rule at the start, 30 days ago and today.

7. How It Works in Fabric

How the data quality solution works in Microsoft Fabric - Bronze tables, rules engine notebook, notebook run log and run duration
The pipeline itself: Bronze tables, the rules engine notebook and its run log.

The final page documents the pipeline: the Bronze tables and row counts, the notebook run log and run times (around 4.5 minutes for 160,000 records and 31 rules), so the process is as transparent as the data.

How to design data quality rules that stick

  • Start with the business, not the data. Agree with each owner what good looks like and why it matters, in their language.
  • Start small. Twenty to thirty rules on the data that drives money, compliance and AI use cases beat two hundred rules nobody reads.
  • Give every rule an owner, a severity and a target. Without them, a red number has nobody to act on it.
  • Check raw data. Run rules on Bronze, before transformation, so problems are fixed rather than masked.
  • Fix in the source system. Give stewards the record, the failing value and the fix instructions, not just a percentage.
  • Keep history. Daily snapshots prove progress and stop quality drifting back once the first clean-up is done.
  • Treat new bad data differently from old. Alerts on today’s new issues stop the backlog growing while it is being cleared.

Who this is for

  • Organisations preparing for AI, Copilot or Fabric data agents who need to know their data is fit to use.
  • Finance and operations leaders whose reports and month-end close depend on clean master data.
  • Teams migrating ERP or HR systems, where data quality decides whether the migration succeeds. See Unit4 Agresso to Oracle Fusion data quality.
  • Data governance and compliance leads who need evidence of ownership, controls and improvement.
  • IT and data teams who want data quality built once in Fabric instead of scattered across spreadsheets and reports.

How we deliver data quality monitoring

  1. Discovery. We identify the systems, data sets and AI or reporting use cases that matter most.
  2. Rules workshop. We agree rules, owners, stewards, severities and targets with the business.
  3. Bronze and rules engine. We land the sources in a Fabric lakehouse and build the notebook, issue log and snapshots.
  4. Report and alerts. We build the Power BI report, Direct Lake model and Activator alerts.
  5. Handover. We document the rules and train stewards and owners to run the process.

A first release covering one or two source systems typically takes three to five weeks. More systems and rules are then added row by row, without rebuilding the report.

Data quality work often sits alongside data platform migration, Dynamics 365 reporting and finance reporting. If you already have Power BI and want an independent view of model and data quality first, a Power BI health check is a good starting point.

Frequently asked questions about data quality monitoring in Microsoft Fabric

Why is data quality important for AI?

AI tools such as Copilot, Fabric data agents and machine learning models answer from the data they are given. Duplicates, missing values, invalid values and inconsistent systems lead to confident but wrong answers. Measuring and improving data quality first is the most reliable way to make AI answers trustworthy.

How do you monitor data quality in Microsoft Fabric?

Land raw data in a Bronze lakehouse, store data quality rules with owners, severities and targets in a table, and run them with a PySpark notebook on a schedule. The notebook writes failing records to one unified results table, keeps an issue log and saves a daily snapshot. Power BI presents the results and Fabric Activator sends alerts.

What are the dimensions of data quality?

The most common are completeness (required values present), validity (values in the right format or list), uniqueness (no duplicates), consistency (systems agree with each other) and timeliness (data is up to date). Accuracy is also used where values can be checked against a trusted source.

Should data quality be calculated in Power BI or in Fabric?

In Fabric. Keeping rules and results in the lakehouse puts the logic in one testable place, handles large volumes, keeps history and lets other tools, including AI, use the same results. Power BI should present the results rather than calculate them in DAX.

Who should own data quality?

The business. Each data set needs a data owner who is accountable and approves rules and targets, and a data steward team that fixes records in the source system. The data team builds and runs the monitoring.

How do you alert people about new bad data?

Track when each issue was first detected. Records first detected in today’s run are new today. A Fabric Activator rule on that measure can email the owner and steward and post to Teams when it is above zero, with critical rules alerting on a single record.

How long does it take to set up?

A first release covering one or two source systems typically takes three to five weeks, including the rules workshop, Bronze ingestion, rules engine, report and alerts. Further systems and rules are added incrementally.

Is the data in the demo real?

No. The organisation and all records are fictional and the data is synthetic. The tables mirror Dynamics 365 F&O, iTrent, Salesforce and a SharePoint asset register, and the approach reflects how we deliver data quality monitoring for clients.


Is your data ready for AI?

If you would like to explore the demo yourself, we can give you live access to the report. If you are planning Copilot, data agents or any AI use case, book a no-obligation discovery call: we will look at your systems, agree the first rules and show you what data quality monitoring would look like on your data. Read more about our AI and Copilot services and AI-ready data.

Business Intelligence Atlas (Atlas BI) is a UK Microsoft Fabric and Power BI consultancy. The organisation in this demo is fictional and all data is synthetic.

Comments are closed

Latest Comments

No comments to show.