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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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