Forum Discussion
rank
- 8 years ago
Hi ADP007,
It should be 11. The YYYYMM won't change the rank number as you need. You can't use the old measure as standards.
Best Regards,
Dale
- 8 years ago
Hi ADP007,
That's because you introduced new contexts. Please try the formula below.
Rank 2 =
IF (
CALCULATE ( SUM ( Sheet1[Invest] ) ) = BLANK (),
999,
RANKX (
ALL ( Sheet1[Agency] ),
CALCULATE ( SUM ( Sheet1[Invest] ), ALLEXCEPT ( Sheet1, Sheet1[Agency] ) )
)
)
Best Regards,
Dale
Hi Dale,
Thanks for your reply. It does work for the example with OMNICOMMEDIA but then playing around with the slicer it doesn't always work.
What I am trying to achieve in another report is to point out the ranking of one specific company GROUPM (company I work for) whatever filter is used (CINEMA , INTERNET, OOH,...)
Can't share this report as it is with a direct connexion to an olap cube.
Thanks
David
- v-jiascu-msft8 years agoMicrosoft Employee
Hi ADP007,
It should be 11. The YYYYMM won't change the rank number as you need. You can't use the old measure as standards.
Best Regards,
Dale
- v-jiascu-msft8 years agoMicrosoft Employee

