Implemented project · Personal reference
Fabric Analytics Platform
Model a synthetic sales metric at a declared grain and reconcile tenant-scoped results in SQL. The Fabric serving layer is a reference design.
Context and requirements
Make metric definitions reproducible across data products and reports.
Declare the grain, publish source contracts and test row and object permissions on the semantic model.
Architecture
- Source contracts
- OneLake
- Conformed star schema
- Semantic measures
- Power BI reports
Alternatives and implementation
Compare Import and Direct Lake using the same queries, capacity and access requirements.
Download executable Python reference · Download test suite · License
Save the Python lab sources from the project directory inside a folder named labs. From its parent, run python3 -m labs.analytics_grain. To run the shared suite, place test_labs.py next to the folder and run python3 -m unittest test_labs.
Security, cost and operations
Compare query latency, model refresh behavior and capacity usage. Inspect security roles with representative identities.
Results and lessons
The SQLite tests verify fact uniqueness, dimension integrity, signed amounts and the scoped metric. Fabric capacity, DAX and semantic-model security require an authorized tenant.
Record capacity limits, feature availability and supported deployment items before selecting the serving mode.