In the last blog, Datus AI generated a semantic layer, so every tool now reads one definition of each metric. However, business users still need dashboards. In many teams, BI development is where analytics projects slow down again.
In this blog, we look at why BI development is slow, which dashboard design principles matter, and how KPI standardization prevents rework. Then we show how Datus AI turns a governed KPI into a Power BI report, with code you can run and real outputs.
If you are new to the series, start with why analytics projects fail before they begin. Then read about the unified data engineering operating model, AI-assisted platform planning, business questions to analytics architecture, reliable data pipelines, metadata-driven engineering and analytics models that scale.
Traditional BI Development Bottlenecks
Most dashboards start as a request in a queue. An analyst then rewrites the metric logic, and a developer builds the report by hand. Finally, a reviewer notices that the numbers do not match another report, and the cycle starts again.

Four bottlenecks cause most of the delay:
- Metric rework – Each report rebuilds the same calculation, so small differences creep in.
- Design by taste – There is no shared standard, so every review becomes a debate about layout.
- Manual building – Developers drag visuals onto pages one by one, which is slow and hard to repeat.
- Late validation – Errors appear in user acceptance testing, when fixes cost the most.
The semantic layer from our last blog already removes much of the first bottleneck. The rest of this post deals with the other three.
Dashboard Design Principles
A good dashboard answers one question for one audience. Our running scenario is the California School Performance Card. Here, district leaders ask:
“Which districts are below the attendance target this year?”

Datus applies five design principles to every dashboard:
- Start with the question – Write it at the top of the page, so every visual has a purpose.
- Put KPI cards first – Users should see “how are we doing?” within five seconds, with status against the target.
- Explain, then detail – Place the breakdown and trend in the middle, and keep detail tables at the bottom or on a drill-through page.
- Choose the right chart – Use bars to compare categories and lines for time. Avoid pie charts for rates, because slices of a rate do not add up to a whole.
- Limit the load – Six visuals per page is a sensible maximum. Instead of adding a seventh, add a page.
These rules are simple. Even so, teams break them all the time. Therefore, Datus checks them automatically, as we show later.
KPI Standardization
A metric says how to calculate a number. A KPI adds what good looks like: an owner, a target, warning thresholds, a direction and a format. Without these, two dashboards can show the same 92.1% and still disagree about whether it is good news.
Datus keeps KPIs in a catalog next to the semantic model. Here is an excerpt from our sample catalog:
kpis:
attendance_rate:
metric: attendance_rate
owner: "Director of Student Services"
direction: higher_is_better
unit: percent
format: "0.0"
target: 94.0
warning: 92.0
avg_attendance:
metric: avg_rate
owner: ""
direction: higher_is_better
unit: percent
target: 92.0
warning: 94.0
The second KPI looks harmless. However, it points to a metric that does not exist, and nobody owns it. A short check catches these problems before any report uses the KPI:
import yaml model = yaml.safe_load(open("semantic_model.yaml")) kpis = yaml.safe_load(open("kpi_catalog.yaml"))["kpis"] for name, k in kpis.items(): issues = [] if k["metric"] not in model["metrics"]: issues.append(f"metric '{k['metric']}' not in semantic model") if not k.get("owner"): issues.append("no owner") if k["direction"] == "higher_is_better" and k.get("warning", 0) > k.get("target", 0): issues.append("warning threshold above target") print(("PASS " if not issues else "FAIL ") + name + ("" if not issues else ": " + "; ".join(issues)))
Output:
PASS attendance_rate PASS enrolled_days FAIL avg_attendance: metric 'avg_rate' not in semantic model; no owner; warning threshold above target
As a result, a KPI only reaches a dashboard once it has a valid metric, an owner and sensible thresholds. This is where much of the time saved in BI development comes from: arguments about definitions happen once, in the catalog, rather than in every report review.
Automated Report Generation Concepts
Automated report generation does not mean “let AI design the dashboard.” Instead, it means three things:
- Spec-driven: a short YAML spec describes the question, the audience, and the visuals.
- Rule-checked: a linter applies the design principles before anything is built.
- Code-generated: the report and its measures are produced as files, so they can be reviewed and versioned in Git.
This is our dashboard spec. Notice the last two visuals:
dashboard: school_attendance_overview audience: district leaders question: "Which districts are below the attendance target this year?" filters: [school_year, student_group] pages: - name: Overview visuals: - {type: card, kpi: attendance_rate, title: "Attendance rate"} - {type: card, kpi: enrolled_days, title: "Enrolled days"} - {type: bar, kpi: attendance_rate, by: district, title: "Attendance rate by district"} - {type: line, kpi: attendance_rate, by: school_year, title: "Attendance trend"} - {type: pie, kpi: attendance_rate, by: school, title: ""} - {type: table, kpi: attendance_rate, by: school}
The Datus design linter checks each visual against the KPI catalog and the design rules:
Page 'Overview': 6 visuals (max 6) PASS 1. card:attendance_rate PASS 2. card:enrolled_days PASS 3. bar:attendance_rate by district PASS 4. line:attendance_rate by school_year FAIL 5. pie:attendance_rate by school -> missing title; pie chart for a rate; use a bar chart FAIL 6. table:attendance_rate by school -> missing title
We replace the pie chart and add the missing titles. The spec then passes, and generation can start.
The Datus-to-Power BI Workflow
Datus connects the semantic layer to Power BI in ten steps. Each check loops back to its own stage, so a problem never travels downstream.

Steps 1 to 5 (Define and Design) – These are the semantic model, KPI catalog, and dashboard spec, together with the checks you saw above.
Step 6 (Generate the Power BI project) – Datus writes a Power BI Project (PBIP). Its semantic model uses TMDL, a readable text format for measures and tables. First, a small translator turns each semantic-layer formula into DAX:
def to_dax(sql): ratio = re.search(r"SUM\((\w+)\)\s*/\s*SUM\((\w+)\)", sql) if ratio: a, b = ratio.groups() return f"DIVIDE(SUM({fact}[{a}]), SUM({fact}[{b}])) * 100" total = re.fullmatch(r"SUM\((\w+)\)", sql.strip()) if total: return f"SUM({fact}[{total.group(1)}])" raise ValueError(f"No DAX pattern for: {sql}")
Next, the generator adds the default privacy filter and the KPI target and status. This is the generated TMDL:
table fact_attendance measure 'Attendance Rate' = CALCULATE(DIVIDE(SUM(fact_attendance[days_attended]), SUM(fact_attendance[days_enrolled])) * 100, fact_attendance[is_suppressed] = 0) formatString: 0.0 displayFolder: KPIs measure 'Attendance Rate Target' = 94.0 displayFolder: KPIs measure 'Attendance Rate Status' = SWITCH(TRUE(), [Attendance Rate] >= 94.0, "On target", [Attendance Rate] >= 92.0, "At risk", "Below target") displayFolder: KPIs measure 'Enrolled Days' = CALCULATE(SUM(fact_attendance[days_enrolled]), fact_attendance[is_suppressed] = 0) formatString: #,0 displayFolder: KPIs
Because the measure comes from the semantic layer, it uses the ratio of sums, not an average of rates. In addition, the measure excludes suppressed small groups, so no visual can leak them. The report pages follow the approved spec, with each visual bound to one of these measures.
Step 7 (Validate the Values) – Before review, Datus compares the report’s numbers with the semantic layer for the same filters. Here is the check for 2024-25, using the same thresholds as the status measure:
district | rate | status Los Angeles Unified | 92.93 | At risk Sacramento City | 92.85 | At risk San Diego Unified | 91.69 | Below target Fresno Unified | 91.37 | Below target Oakland Unified | 91.0 | Below target
The answer to the leaders’ question is now clear: no district meets the 94% target, and three are below the warning level.
Steps 8 to 10 (Review, Publish, and Monitor) – A data owner reviews the report before it goes live. Datus then publishes the project to a Microsoft Fabric workspace through Git integration or the Fabric CLI. Finally, it watches report usage and schema drift, and flags an unused page or a renamed column early.
Results for BI Development Teams
With this workflow, BI development becomes repeatable:
- Teams agree each KPI once, with an owner and a target.
- A linter applies the design rules, so reviews focus on content.
- Datus generates reports as code, so every change goes through Git review.
- Automated checks compare numbers with the semantic layer before users see them.
Moreover, developers spend their time on the questions that need judgment, such as which decision a dashboard supports, rather than on rebuilding visuals.
In Summary
Slow BI development rarely comes from the tools. It comes from rework: redefined metrics, design debates, and late validation. Datus AI removes that rework with a governed KPI catalog, automated design checks and generated Power BI projects that always match the semantic layer.
In our scenario, one KPI definition and one short spec produced checked measures and a report that answers the leaders’ question directly. In the next blog, we will continue the journey from decisions to a platform that runs reliably in production.