Skip to content

v0.2.0 - The command center

Choose a tag to compare

@gulmezeren2-byte gulmezeren2-byte released this 14 Jul 13:02
· 85 commits to main since this release

The engine grows its second surface: an interactive Power BI Command Center, authored entirely as code (no .pbix binary in the repo).

  • export-powerbi: star-schema CSVs (facts, dimensions, and the honesty tables - reconciliation, data-quality findings, the full SQL audit trail) through the same guarded read-only path
  • TMDL semantic model: 20+ documented DAX measures whose alert thresholds mirror insights.py exactly - one definition, two surfaces; a Time Shift calculation group on a gapless week ordinal (year-boundary safe); a Selected KPI field parameter; DataFolder parameter so no absolute path is baked in
  • PBIR report: 4 pages / 24 visuals generated from compact specs by powerbi/tools/generate_report_pages.py; the signature Trust page renders the SQL receipts as visuals
  • Custom "Measurement Honesty" theme
  • Validation before Desktop ever opens it: official JSON schemas + field bindings checked against the loaded TMDL model (41 fields, 0 errors), visual overlap detection, theme resolution, 15/15 tests

Quickstart: python -m erp_report_engine export-powerbi -c config.demo.yaml, then open powerbi/ERP Command Center.pbip in Power BI Desktop, set the DataFolder parameter, refresh.