SORTYBY Column REMOVEFILTERS bug not picked up #504
wynhopkins
started this conversation in
Other Topics
Replies: 1 comment 3 replies
-
Well, the Pivot Grid in TE3 uses MDX to query the model, and in that case the filter behaves differently - that’s just one of the many fun quirks of DAX. To demonstrate the filter issue, you could use a DAX query captured from Power BI with the performance analyzer, instead of a Pivot Grid. Note that we are also considering an optional “DAX mode” for the Pivot Grid, but we can’t provide a timeline currently. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was thinking a nice demo of DAX Debugger would be to demonstrate the bug where REMOVEFILTERS doesn't clear filters on a column such as month if you also use SORTBY Column on that column.
But Tabular Editor doesn't have the bug so the numbers display differently (see image).
Measure is
Full Year Budget = CALCULATE( [Budget], REMOVEFILTERS('Calendar'[Month] ) )
Measure should be
Full Year Budget = CALCULATE( [Budget], REMOVEFILTERS( 'Calendar'[Month], 'Calendar'[Financial Month Number for Sort] ) )
Beta Was this translation helpful? Give feedback.
All reactions