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
KeatonO
Helper II
Helper II

Percent of Total Rank

I have been stuck on this for over a week now and am going a little crazy! I truly appreciate all the help that can be given. 

 

End Goal - Use conditional formatting to highlight the bottom 25% of the selected Revenue Rank. 

 

Current Workaround Goal - Divide an agent's Revenue Rank by the Max Revenue rank Selected. (I can then use that percent to identify the bottom 25%. 

image.png

 

Ranx formula

image.png

 

I have tried getting MAX([Revenue Rank]) to say [Revenue Rank]/Max([Revenue Rank] but that doesn't work because Revenue rank is a measure and MAX only works on columns. I need to find this bottom 25% on only the selected data which filters to only one department/role. 

 

I have tried getting the max number with count rows.

image.png

but it references the count of the invoiced sales data 298 instead of this department/role which currently has 41.

 

I have also tried creating a table and splitting it by quartile. 

image.png

But it's not quite right, it's close but will only work with the full invoiced table and not with the filter to look at just outbound supplies. With the filter it looks like this.

image.png

 

Even without the filter it's not quite right. 

I have looked into top N and couldn't quite get it right either. 

 

Please help. I think I am overcomplicating this but cannot for the life of me figure out how to highlight the bottom 25% of the Rank. 

1 ACCEPTED SOLUTION

Hi @KeatonO ,

 

I apologize that i lost a parenthesis.

In your scenario, it should be

MAXX(ALLSELECTED(table),[revenue rank])

 Here's my sample data.

revenue rank = RANKX(ALLSELECTED('Table'),CALCULATE(SUM('Table'[value]),ALLEXCEPT('Table','Table'[name])),,ASC,Dense)

1.PNG

2.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

10 REPLIES 10

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.