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
SebSchoon1
Post Patron
Post Patron

Simple ranking does not work

Hi guys,

 

I have mail adresses from a specific table (dimension table)

i have sales total from fact table

 

and i'd like to rank the sales by mail address.

 

here is what i get with 

 

Rank Ventes par client = rankx(ALLSELECTED('TIERS'),[Montants tickets])

 

SebSchoon1_0-1666809603160.png

Why is there Two 12 rank even if data is totaly different?

 

Kind regards

 

2 REPLIES 2
Shaurya
Memorable Member
Memorable Member

Hi @SebSchoon1,

 

Try:

 

Rank = RANKX(ALL('Tiers'),'Tiers'[Montants Tickets],,SKIP)

 

Works for you? Mark this post as a solution if it does!
Consider taking a look at my blog: Forecast Period - Previous Forecasts

Hi @Shaurya 

 

The  'TIERS'[Montants Tickets]  is in fact a measure which is not part of the Table 'TIERS'

 

RANKX(ALL('Tiers'),'Tiers'[Montants Tickets],,SKIP)

 

 

🙂 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors