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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

calculated column to show ranking

Hello all,

 

Hope you are well.

 

I need to create a calculated column that will return the ranking of the extractin date column, 1 being the newest extraction date.

 

The first three columns of the below table can be considered as the extracted details, and the ranking column shows the desired calculated column.

 

Extraction DateProductQuantityRanking
23/11/2021Prod01651
23/11/2021Prod02431
23/11/2021Prod03961
05/11/2021Prod01652
05/11/2021Prod02402
05/11/2021Prod031002
15/10/2021Prod01703
15/10/2021Prod02343
15/10/2021Prod03863

 

Any help would really be appreciated.

 

Kind regards,

 

George

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello @DimaMD ,

 

I found the solution, please see the below screenshot.

 

GeorgeGiannakis_1-1637666036412.png

 

As we can see, it returns the ranking in a consecutive order.

 

GeorgeGiannakis_0-1637666016757.png

 

Thank you,

 

George

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hello @DimaMD ,

 

Thank you for your reply.

 

I produced your suggested measure.

 

GeorgeGiannakis_1-1637664939449.png

Indeed, it returned the ranking , but unfortunately not in a consecutive order.

 

Do you have any idea how this can be fixed?

 

GeorgeGiannakis_0-1637664920349.png

 

Thank you,

 

George

 

 

 

Anonymous
Not applicable

Hello @DimaMD ,

 

I found the solution, please see the below screenshot.

 

GeorgeGiannakis_1-1637666036412.png

 

As we can see, it returns the ranking in a consecutive order.

 

GeorgeGiannakis_0-1637666016757.png

 

Thank you,

 

George

hi @Anonymous 
Good job, I led you to the right solution to your problem


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
DimaMD
Solution Sage
Solution Sage

hi @Anonymous 
Try it

Стовпець = RANKX('Table',[Extraction Date])




__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.