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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
morrowchristian
New Member

Trying to create percentiles based on Rank?

I want to create a column with DAX that will get the top 10%, middle 80%, and bottom 10% of data based on user activity from a user table. The name of the table is UserEmailMapping and the column I ranked and want the percentages from is called TotalUserActivity. I want to be able to put this into a chart so I can always see who is in the top 10%, middle 80%, etc of users based on Activity. Any idea how I could do that with DAX?

1 REPLY 1
harshnathani
Community Champion
Community Champion

Hi @morrowchristian ,

 

You can have a look at the solution

 

https://community.powerbi.com/t5/Desktop/Calculating-the-percentile-for-a-set-of-data/td-p/250581

https://community.powerbi.com/t5/Desktop/Calculate-percentile-by-group/td-p/478239

https://community.powerbi.com/t5/Desktop/Calculating-Percentile-on-Measure/td-p/548750

https://community.powerbi.com/t5/Desktop/Dynamic-calculation-of-percentiles/td-p/458233

 

 

Also please share sample data and expected output.

 

Please see this post regarding How to Get Your Question Answered Quickly:

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.