Forum Discussion
Anonymous
6 years agoNot applicable
Fixed versus Dynamic Rank with RankX
I have a basic matrix table with Product Name, Profit and two rank columns (1 fixed, 1 dynamic) that are calculated with the following measures: (1) Product Profit Rank = RANKX(ALLSELECTED(Orders...
- Anonymous6 years ago
// This is a global rank that // does not respond to // any filters. [Product Profit Fixed Rank] = RANKX( ALL( Orders[Product Name] ) CALCULATE( SUM( Orders[Profit] ), ALLEXCEPT( Orders, Orders[Product Name] ) ) )
Anonymous
6 years agoNot applicable
// This is a global rank that
// does not respond to
// any filters.
[Product Profit Fixed Rank] =
RANKX(
ALL( Orders[Product Name] )
CALCULATE(
SUM( Orders[Profit] ),
ALLEXCEPT(
Orders,
Orders[Product Name]
)
)
)Anonymous
3 years agoNot applicable
Yep, works perfectly. Exactly what I needed as well. The requirement description is very clear and this proposed solution works well. I still don't understand why the ALL() function is not enough to remove all the filters, wether in the visual itself as well as filters in slicers and in the filters pane, but the solution works. Thanks so much.