Forum Discussion
ADP007
Helper IV
8 years agorank
Hello,
Havong difficulty with a rank formula
Ranking-1 = RANKX(ALL('Media Agency'[Media agency Group]);CALCULATE([FY-1 Price]))
Result is correct when used in a matrix, when used in a Card with a visual filter on GroupM the result is different.
Live connection on a Tabular cube.
Any help more than welcome as always
Thanks
ADP
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
11 Replies
- Zubair_Muhammad
Community Champion
What if you use ALLSELECTED??
Ranking-1 = RANKX(ALLSELECTED('Media Agency'[Media agency Group]);CALCULATE([FY-1 Price]))- ADP007
Helper IV
Hi,
I tried that also. The result is ok in the matrix but then in the card the ranking is 1 and no longer 5. In both cases the ranking in the card is incorrect
Thanks
.
- v-jiascu-msft
Microsoft Employee
Hi ADP007,
Can you share the formula of [FY-1 Price]? Share the file please if you can. BTW, how did you apply the visual level filter?
Best Regards,
Dale