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
bhmiller89
Helper V
Helper V

Ranking a field based on a measure

I have a dataset where each record is a sale. One of the fields is "sales rep" and I have a measure written called "MTD Production$" 

 

I need to rank each Sales Rep by the value of the measure "MTD PRoduction$" So far I can't get anything to work. Any help is appreciated 

1 ACCEPTED SOLUTION
ebeery
Solution Sage
Solution Sage

@bhmiller89 how about this:

Rank = 
RANKX(
    ALL('Table'[Sales rep]),
    [MTD Production $]
)

 

ebeery_0-1636594965799.png

 

View solution in original post

1 REPLY 1
ebeery
Solution Sage
Solution Sage

@bhmiller89 how about this:

Rank = 
RANKX(
    ALL('Table'[Sales rep]),
    [MTD Production $]
)

 

ebeery_0-1636594965799.png

 

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.