Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

RANKing

DateFundRank
01/01/2021A1
01/01/2021A1
03/01/2021A2
04/01/2021B1
05/01/2021B2
05/01/2021B2
06/01/2021C1
07/01/2021C2
08/01/2021C3

Hello Everyone , 

Please i need your help on my issue , look the table above for get more detail about it .

I want to do that in dax query and power query .

Thanks in advance ! 

  • Anonymous 

     

    NOTE: Need to add the index to differentiate the first 2 rows here

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

     

    Ritesh Bisht 

1 Reply

  • Anonymous 

     

    NOTE: Need to add the index to differentiate the first 2 rows here

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

     

    Ritesh Bisht