Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

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 ! 

1 ACCEPTED SOLUTION
ribisht17
Community Champion
Community Champion

@Anonymous 

 

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

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

ribisht17_0-1660071365536.png

 

Ritesh Bisht 

View solution in original post

1 REPLY 1
ribisht17
Community Champion
Community Champion

@Anonymous 

 

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

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

ribisht17_0-1660071365536.png

 

Ritesh Bisht 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.