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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
azaterol
Helper V
Helper V

Rank problem

Hello, everyone,

i need your help please

I want to sort by sales (Umsatz). Everything went great. However, when I add a column (Score), the Rank column is wrong. Why? lots of 1s appear. Is it my measure? I thank you for every answer.

 

Rank = CALCULATE(RANKX(ALL(Customers[POS-Partner]),[Umsatz]))

 

 

Initial situation:

azaterol_0-1669044370027.png

 

How it should be:

 

azaterol_3-1669044782481.png

 

 

 

 

 

3 REPLIES 3
v-yadongf-msft
Community Support
Community Support

Hi @azaterol ,

 

In order to better understanding your demands and give the right solution, could you please share with me some screenshots of your data after hiding sensitive information ?

 

Thanks for your efforts & time in advance.

 

Best regards,

Yadong Fang

Shaurya
Memorable Member
Memorable Member

Hi @azaterol,

 

Just use RANKX(ALL(Customers[POS-Partner]),[Umsatz]) to create a DAX Column and then continue with the changes that you want to do in the visuals. Why use RANKX with CALCULATE!

 

Did I answer your question? Mark this post as a solution if I did!
Check out this blog of mine: How to Export Telemetry Data from Azure IoT Central into Power BI

@Shaurya unfortunately it didn't solve the problem. do you have another idea?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.