Forum Discussion
Anonymous
7 years agoNot applicable
Rank Dates within a Category or Group - DAX or Power Query
Hi, I'm looking to rank my data to find the most recent information for each category. Here's a brief example of the data I'm working with: I have a Category column, a Date colum...
- 7 years ago
Anonymous
As a calculated column with DAX
RANK=RANKX(fILTER(Table1,[Category]=EARLIER([Category])),[Date],,DESC,dENSE)
Zubair_Muhammad
Community Champion
7 years agoAnonymous
As a calculated column with DAX
RANK=RANKX(fILTER(Table1,[Category]=EARLIER([Category])),[Date],,DESC,dENSE)
- Elvos5 years agoRegular Visitor
Hi, what if you get a D category in one of the later dates and want to rank it accordingly to that date rank in the other categories?
BR
- Anonymous7 years agoNot applicable
This is exactly what I was looking for. Thanks Zubair_Muhammad
- Anonymous4 years agoNot applicable
Hi Zubair,
Can you please advise how we can make this rank dynamic, meaning it will auto populate based on date range selected. Right now, even if you filter a later date out, it will still show the same rank.