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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
ianf123
Helper II
Helper II

Matrix - show only rows which have a zero value

ianf123_0-1755182867831.png

Hi - is there a way to "filter" the above matrix so it shows only rows which have a zero value? For info, this is set up with "switch values to rows" option on.

1 ACCEPTED SOLUTION

By SUM measures do you mean that they are implicit measures, i.e. that you have dragged a column into the visual and Power BI automatically creates a SUM aggregation for you? If so, create explicit measures like

My Measure = SUM( 'Table'[Column' ) + 0

and use these instead. You will then be able to filter their values in the filter pane.

View solution in original post

8 REPLIES 8
Greg_Deckler
Community Champion
Community Champion

@ianf123 You'll need something like a Complex Selector. Or you may be able to just use the Filter pane and set it to have all the measures only showing 0. 

https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/The-Complex-Selector/m-p/1116633#M5...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks - I tried the filter pane but it wont let me change anything for the fields in question.

Hi @ianf123 

To display only zero-value rows in your matrix: select the visual, drag the measure into the Visual-level filters pane, and set the filter to show values equal to 0.

Hope this helps !!

The issue is that when I do that, I  am not able to adjust anything with the filter. I think the issue is that the measures in the matrix are totals / "SUM" measures.

By SUM measures do you mean that they are implicit measures, i.e. that you have dragged a column into the visual and Power BI automatically creates a SUM aggregation for you? If so, create explicit measures like

My Measure = SUM( 'Table'[Column' ) + 0

and use these instead. You will then be able to filter their values in the filter pane.

Hi @ianf123 

Just following up on the suggestion shared earlier by @johnt75  about replacing implicit measures with explicit ones (e.g., My Measure = SUM('Table'[Column]) + 0).

Were you able to try this approach, and did it resolve your filtering issue?

Hi @ianf123 

Just checking in on the suggestion shared earlier by @johnt75 about replacing implicit measures with explicit ones (for example:
My Measure = SUM('Table'[Column]) + 0).

Have you had a chance to try this approach, and did it resolve your filtering issue? 

Hi @ianf123 

 

We haven’t heard from you on the last response and was just checking back to see if your query was answered,

Otherwise, will respond back with the more details and we will try to help .

Helpful resources

Announcements
Top Kudoed Authors