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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
PBIHELP1
New Member

Excluding subcategories

Hi,

 

I have a table in Power BI with different categories and under each category there is a subcategory connetced to a value. Can I somehow remove subcategories for a specific category without losing values?

 

Thanks

 

3 REPLIES 3
PBIHELP1
New Member

Thanks for answering! So it is not possible in Online without measures?

It depends on what you mean by filtering - if you're trying to remove subcategories from the data, if you filter those out of the table you'll be removing rows of data. If that's what you're after, then it's valid to do that. You could also replace values in the field with something else, but I'm not sure what exactly your end goal is so it's hard to make recommendations based on a two-sentence post. 🙂

christinepayton
Super User
Super User

You can exclude subcategories in your measures using CALCULATE() and/or FILTER(). 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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