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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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.


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!:
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.


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

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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