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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
TotunG
Resolver I
Resolver I

Filter 0 from One Matrix Column Only

Hey,

 

I have a Matrix table with Values which appear in 3 categories (Table example below):

 

CategoryValue
A

10

A

0

B

0

C

0

B30
C20

 

When displaying this data in a Matrix with Columns as Category and Values as Value it can be seen below. What I would like however, is the Matrix to filter out the 0's that appear BUT only if Category C has a 0 and not if A or B has a 0.  I guess I need some sort of measure to sort this as Advanced Filtering does not work (as filtering 0 removes all instances of 0 from values).

 

 ABC
Row 110300
Row 20020
1 ACCEPTED SOLUTION
ERD
Community Champion
Community Champion

Add it to the visual filters and set the value to 1.

ERD_0-1693585977530.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Stand with Ukraine!


Here is an official way you can support Ukraine financially:
Come Back Alive foundation: https://savelife.in.ua/en/

Thank you!

View solution in original post

4 REPLIES 4
ERD
Community Champion
Community Champion

@TotunG , you can use this measure for filtering: 

Measure = IF(SELECTEDVALUE(Table[Category]) = "C" && SELECTEDVALUE(Table[Value]) = 0, 0, 1)

Set it equal to 1 in the matrix visual filters.

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Stand with Ukraine!


Here is an official way you can support Ukraine financially:
Come Back Alive foundation: https://savelife.in.ua/en/

Thank you!

Nice - thank you. I get this can be used as a sort of indicator now. But I'm still struggling to get this to filter out Category C 0 values only? Do you know the next steps to this?

ERD
Community Champion
Community Champion

Add it to the visual filters and set the value to 1.

ERD_0-1693585977530.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Stand with Ukraine!


Here is an official way you can support Ukraine financially:
Come Back Alive foundation: https://savelife.in.ua/en/

Thank you!

Appreciate the help, although it still doesn't work. I'll give you kudos tho.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.