Product July 17, 2024 · 3 min read

New ways to analyze best practices in Power BI

Measure Killer's Best Practice Analyzer checks your model against Microsoft's best practice rules and assigns a violation score so you know where to improve.

KF
Klaus Folz
New ways to analyze best practices in Power BI

The latest iteration of Measure Killer (version 2.3.0) introduces a significant addition: Best Practice Analyzer.

This capability is accessible across all operational modes, including the complimentary version supporting “Single report/dataset” and “Shared/golden dataset on local machine” configurations. To evaluate your model against best practices, the process is straightforward: launch Measure Killer and select “Best Practices” from the primary window. The bracketed numeral indicates the quantity of rule violations discovered.

Measure Killer main window indicating best practices

The tool examines your Power BI model utilizing best practice rules sourced from the Microsoft Power BI best practices repository. This examination encompasses a “violation score” calculation that assigns an assessment rating to your model.

Measure Killer Best practices violation score

Identifying which specific objects (measures, columns, tables, or relationships) breach particular rules is simplified by utilizing the expand functionality available in each row.

Measure Killer Best practices details

Conclusion

The best practices functionality within Measure Killer provides an efficient mechanism for confirming optimal Power BI model design and compliance with industry standards, thereby enhancing reporting performance and demonstrating model quality.

Calculation Details

The violation score calculation relies on rule violations and their assigned severity levels:

  • Violation Count: Quantifies objects violating each rule
  • Violation Score: Product of rule severity (1, 2, or 3) multiplied by violation count
  • Total Violation Score: Aggregate of all violation scores

Example calculation:

  • Rule A: Severity = 2, Violations = 3 —> Score = 6
  • Rule B: Severity = 3, Violations = 1 —> Score = 3
  • Total = 9

Verdict scale based on total violation score:

Score RangeVerdict
< 50”Power BI Pro” (Green)
50-200”Good” (Light Green)
201-400”Ok” (Yellow)
401-600”Poor” (Orange)
601-799”Awful” (Red)
>= 800”Power BI Criminal” (Dark Red)