Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

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...
  • Zubair_Muhammad's avatar
    7 years ago

     Anonymous

     

    As a calculated column with DAX

     

    RANK=RANKX(fILTER(Table1,[Category]=EARLIER([Category])),[Date],,DESC,dENSE)