All checks
DAXPerformanceMedium

RANKX evaluated over a fact table

"RANKX evaluated over a fact table" is one of the performance checks Auditabi runs on a Power BI semantic model. n measure(s) rank over a fact table. It is a medium-severity finding: the model still works, but results are wrong in some filter contexts, slow, or fragile under change. Rank over the dimension that carries the attribute (ALL(Dimension[Attribute])), not over the fact.

What is detected

n measure(s) rank over a fact table. The expression is evaluated once per row of the fact, with a context transition each time.

Why it matters

Wrong in some filter contexts, slow, or fragile under change. Fix in the next iteration.

How to fix it

Rank over the dimension that carries the attribute (ALL(Dimension[Attribute])), not over the fact.

Does your model fail this check?

Free static audit with the exact objects, no account, nothing stored.

Audit a model

More DAX checks