cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ndris
Frequent Visitor

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
Super User
Super User

@ndris 

 

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
Super User
Super User

@ndris 

 

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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.