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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
hongyuliu
Helper III
Helper III

ranking

Hi there,

 

I want to add a column to rank my customer according to total value of >60 days AR. Please advise how to write the formula. Thank you

Below is the sample of my data

Capture.PNG

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@hongyuliu , Create a measure with Filter > 60 days

 

then create rank measure

 

Rankx(Allselected(Table[Customer]), [GT 60 Measure],,desc,dense)

 

In case you want other columns, add them to allselected

 

Measure Rank: https://www.youtube.com/watch?v=DZb_6j6WuZ0&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=40
https://www.youtube.com/watch?v=cN8AO3_vmlY&t=25627s

 

Power BI Rank Across dimension tables: https://youtu.be/X59qp5gfQoA

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@hongyuliu , Create a measure with Filter > 60 days

 

then create rank measure

 

Rankx(Allselected(Table[Customer]), [GT 60 Measure],,desc,dense)

 

In case you want other columns, add them to allselected

 

Measure Rank: https://www.youtube.com/watch?v=DZb_6j6WuZ0&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=40
https://www.youtube.com/watch?v=cN8AO3_vmlY&t=25627s

 

Power BI Rank Across dimension tables: https://youtu.be/X59qp5gfQoA

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.