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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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