Forum Discussion
difference between removefilters(), all()
- 5 years ago
Jeanxyz
Not clear about the measures you have used. If you need a good video the refer to this please:
https://www.youtube.com/watch?v=O8S1XoRss28
Also this:
https://www.youtube.com/watch?v=O4co3WFMjfw
Hello Dear ,
Its not as complicated as you may think š
Differences between ALL() and REMOVEFILTERS()
REMOVEFILTERS is just an alias of ALL here, so it works in the same manner.
Basically, using only ALL() returns a table including all rows, ignoring any filters that might have been applied.
However, when ALL is used as a filter argument of CALCULATE / CALCULATETABLE, it behaves differently: it removes filters from the table and does not return a table.
To eliminate this confusing behavior of ALL, REMOVEFILTERS was introduced to replace ALL when it is used inside CALCULATE.
You can find more in this video.Hope it helps!