Forum Discussion
ADP007
8 years agoHelper IV
rank
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...
- 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
Zubair_Muhammad
8 years agoCommunity Champion
What if you use ALLSELECTED??
Ranking-1 = RANKX(ALLSELECTED('Media Agency'[Media agency Group]);CALCULATE([FY-1 Price]))
- ADP0078 years agoHelper 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-msft8 years agoMicrosoft 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
- ADP0078 years agoHelper IV
Hi Dale,
[FY-1 Price] is a calculated measure in my tabular model
FY-1 Price:=CALCULATE ( [TotalPrice]; FILTER(Calendar;Calendar[MDB_FYIndex] = -1 ) )I have a DimDate table where some index give running year, last year etc....
How can I share the file with you?
Regards
David
