Rules / DAX Expressions
The EVALUATEANDLOG function should not be used in production models
What it checks
Measures that call EVALUATEANDLOG.
Why it matters
EVALUATEANDLOG is a debugging aid: in Power BI Desktop it emits a trace event with its argument on every evaluation so you can watch intermediate values. The service ignores it. Leaving it in a published model ships debug scaffolding that every reader has to look past, and anyone who opens the file in Desktop gets trace output they did not ask for.
How to fix it
Remove the EVALUATEANDLOG wrapper and keep the expression inside it.