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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

New Member

Excluding subcategories



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?




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. 🙂

Super User
Super User

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

Helpful resources

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors