Forum Discussion
ccakjcrx
8 years agoResolver I
Rank Date
Hello! I'm trying to brake my bad habit of adding columns to arrive at a desired outcome, and instead create measures when possible. I believe this is a fairly simple problem, but I cannot so...
- 8 years ago
Hi ccakjcrx
Try this MEASURE
Index = RANKX ( ALLSELECTED ( Sheet1[Month Year] ), CALCULATE ( SELECTEDVALUE ( Sheet1[Month Year] ) ), , ASC )
ccakjcrx
8 years agoResolver I
Anonymous
Hey!
Thanks for helping me out.
I applied your measure, but got the 14 for each row--rather than showing 1 for the first row, 2 for the second row, etc. You can download my .pbix file HERE
I want to do this in a MEASURE, but I'm not sure it is possible :(
Zubair_Muhammad
8 years agoCommunity Champion
Hi ccakjcrx
Try this MEASURE
Index =
RANKX (
ALLSELECTED ( Sheet1[Month Year] ),
CALCULATE ( SELECTEDVALUE ( Sheet1[Month Year] ) ),
,
ASC
)- ccakjcrx8 years agoResolver I
- Piyush_Ghungrud3 years agoHelper I
Hi Zubair_Muhammad ,
I have tried this, but this does gives the desired ranking.
Please refer the image below
Please, let me know your valuable suggestions.
Thank you 🙂