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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Nfuentes86
Frequent Visitor

How to hide Zero Value in Matrix

 I'm trying to  (hide) the columns with (zero) values in the matrix below.  Is there an easy setting to do this or should I create a measure? Trying to hide the columns with 0 values.Trying to hide the columns with 0 values. When I select the filters on this visual and select the columns i need to hide the 0 values, it disappears all my data. In this instance I used "Planned FTE" column for example.When I select the filters on this visual and select the columns i need to hide the 0 values, it disappears all my data. In this instance I used "Planned FTE" column for example.

3 REPLIES 3
Greg_Deckler
Super User
Super User

@Nfuentes86 Well, you could write a measure for each one where if the value is 0, return blank, otherwise, display the number.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

So would my measure be:

Measure = IF([Planned FTE] = 0, BLANK(), [Planned FTE]) 

@Nfuentes86 Assuming that Planned FTE is a measure, yes. If it is a measure, you might be able to modify it to just return blank on its own, so a final check that if the return value is going to be 0, return blank instead.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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