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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
marakud971
Regular Visitor

Customers who represent a certain percentage of the revenue

Hello everyone, I'm requesting your help with the following problem.

 

I want a percentage slicer that allows me to filter a chart.
The goal is to display the customers who represent a certain percentage of the revenue.

For example, if I select 40% in my slicer, I will see the TOP N customers who represent 40% of my revenue. (sum of all customers).

I have created the following table for my slicer: TableSlicer (%) = GENERATESERIES(0,1,0.1)

I'm having trouble creating a measure that filters my Top N corresponding to this percentage. What should I do?

Thank you so much.

1 REPLY 1
lbendlin
Super User
Super User

Have a sorted list of customers and their revenue, largest first.  Run a cumulative sum through that list and cut off when you reach 40 %.  All customers before reaching the threshold can return something (like their revenue), all others can return BLANK() so their rows would be suppressed during rendering.

 

Check DAXPatterns.com for Pareto patterns.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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