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
newtopbidax
Frequent Visitor

Alternative to Switch() to create the new row as 'Others'

Hi there,
I am working on a report level, without having an access to the dataset so all I can do is create measures. I wanted to know if there is a way to show top 25 companies by their sales and rest of them as 'Others' as a separate record in my pbi table. This is the sample data I have:

NameSalesCostsExpenses
Walmart90,000  
Target80,000  
Costco70,000  
Kroger60,000  
Sams50,000  
Lowe40,000  
Home Depot30,000  
Walgreens20,000  
CVS10,000  

This is how I want to see:

NameSalesCostsExpenses
Walmart90,000  
Target80,000  
Costco70,000  
Kroger60,000  
Sams50,000  
Others100,000  


Using switch doesn't work in my actual model because I have millions of records and I need to show top 100.
I really appreciate your help, thank you!


1 ACCEPTED SOLUTION
PabloDeheza
Solution Sage
Solution Sage

Hi @newtopbidax!
Try the solution of this video:
https://www.youtube.com/watch?v=nVvlEHKr_0o

Let me know if that helps!

View solution in original post

2 REPLIES 2
newtopbidax
Frequent Visitor

@PabloDeheza thank you so much. I was able to do it following that video!

PabloDeheza
Solution Sage
Solution Sage

Hi @newtopbidax!
Try the solution of this video:
https://www.youtube.com/watch?v=nVvlEHKr_0o

Let me know if that helps!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors