Forum Discussion
RANKX by date
- 6 years ago
Hi Anonymous ,
When I use your expression to create a column, it returns "1" for each row. But, when use it to create a measure, it works well.
If you want to create a column, try this:
Date Rank Index 2 column = RANKX ( 'award', 'award'[award_begin_date],, DESC )Best Regards,
IceyIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Replace CALCULATE with RANKX
Oh how I didn't notice it! Thank you so much.
If you allow I have one more question, is there a way to reverse columns order with dates by having this measure created? Don't really know how to do this.
- Ashish_Mathur2 years ago
Super User
You are welcome. I do not understand your question.
- WaldemarVogt2 years agoRegular Visitor
So I would like to change the order of columns, the first column should be 4/1/2024 and the last should be 1/1/2024. I was thinking that creating this measure with rank could help me, but still no idea how to manage it. Hope it's more clear now.