Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Your file has been submitted successfully. We’re processing it now - please check back in a few minutes to view your report.
04-13-2026 00:15 AM - last edited 04-13-2026 00:34 AM
After editing a Power BI semantic model, there is no built-in way to answer "what changed?" This notebook fills that gap with a structured metadata diff for semantic models in Microsoft Fabric.
The tool works in two stages. First, a snapshot engine connects to a semantic model via the Tabular Object Model (TOM) through semantic-link-labs and captures the full metadata: tables, columns, measures, relationships, partitions, roles, and shared expressions. The snapshot is persisted as a versioned JSON file in the attached Lakehouse.
Second, a diff engine compares any two snapshots and categorises every change as Added, Removed, or Modified. For modified objects, it reports exactly which properties changed with old and new values side by side. Results are displayed as colour-coded DataFrames and can be exported as a self-contained HTML report.
Typical use cases:
- Pre/post-deployment review: snapshot before and after model changes to see exactly what was modified
- Cross-environment validation: compare Dev and Prod snapshots to confirm a promotion contains only intended changes
- Audit trail: schedule periodic snapshots to build a change history for models that lack version control
Configuration requires only two variables (dataset name and optional workspace). Authentication is handled by Fabric. No hardcoded IDs or credentials.
https%3A%2F%2Fgithub.com%2Fvestergaardj%2FSemantic-Link-TestHarness%2Fblob%2Fmain%2F2026_SemanticLink_jve_SemanticModelDiff.ipynb