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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
dgilm33
Helper I
Helper I

Trying to Show Spend % and if less than 10%, it shows other

I am calculating spend% and trying to show the category name for anything above 10%, and show as other if below 10%.

 

I have a calculated measure getting total spend for each category:

Sum Category = SUM('CategoryTable'[Total Spend])

 

I have a calculated mesaure getting the total spend:

Sum Total Spend = Calculate([Sum Category], ALL('CategoryTable'[Other Column]))

 

I have a calculated measure getting the spend %:

Spend % = Divide([Sum Category, Sum Total Spend])

 

Now I'm trying to create the column to either show the category name or other:

Other Column = IF([Spned %]<.10, "Other", 'CategoryTable'[Category])

 

The Spend % is calculating correctly for each category. However, the Other column is not showing correct and is still showing all categories regardless of %.

2 REPLIES 2
PijushRoy
Super User
Super User

Hi @dgilm33 

Can you please share excel sample data here




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.