This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Your file has been submitted successfully. We’re processing it now - please check back in a few minutes to view your report.
04-10-2026 07:49 AM - last edited 04-13-2026 00:34 AM
Validate your Fabric semantic model against your Lakehouse automatically.
This notebook pairs DAX queries with Spark SQL queries and compares the results at the DataFrame level. It handles DAX column name normalization, floating-point tolerance for numeric comparisons, and detailed mismatch reporting. Define test cases as DAX/SQL query pairs, run the harness, and get a pass/fail summary showing where your semantic model and Lakehouse disagree. Useful as a post-refresh validation step or for detecting schema drift in models that sit on Gold-layer lakehouse tables.
https%3A%2F%2Fgithub.com%2Fvestergaardj%2FSemantic-Link-TestHarness%2Fblob%2Fmain%2F2026_SemanticLink_vestergaardj_SemanticTestVsLakehouse.ipynb