Forum Discussion
RanX values changes when Filter is applied
- 2 years ago
Instead of RANKX(ALL try it with ALLSELECTED.
RANKX(ALLSELECTED('Dealer Ranking'[Counter Party]) - Anonymous2 years ago
After my tests I came to the conclusion that Function ALL ignores filters applied to tables.
You can remove ALL from the formula.
IF( [Ranking Size (Vol)] = blank(), BLANK(), RANKX('Dealer Ranking'[Counter Party],[Ranking Size (Vol)],,DESC))For more information about the ALL function, you can refer to the following documentation: ALL function (DAX) - DAX | Microsoft Learn
Best Regards,
Community Support Team _YuliaxIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
After my tests I came to the conclusion that Function ALL ignores filters applied to tables.
You can remove ALL from the formula.
IF( [Ranking Size (Vol)] = blank(), BLANK(), RANKX('Dealer Ranking'[Counter Party],[Ranking Size (Vol)],,DESC))
For more information about the ALL function, you can refer to the following documentation: ALL function (DAX) - DAX | Microsoft Learn
Best Regards,
Community Support Team _Yuliax
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for that. I realised that i had a visual filter and then everything worked!