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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Hide values less than 0 in a matrix

Hi.

 

I have a matrix with details of a table organized by month and year hierarchy. But when down to month detail level. The matrix show the months without values and need hide this.

 

mvasqueznr_0-1617950200467.png

 

I need that show a matrix like this

mvasqueznr_1-1617950277467.png

 

To calculate the values Im use a measure that count the rows of the table. And for the date use an automatic hierarchy from a column with date values.

 

mvasqueznr_0-1617950760933.png

 



Can you help me please.

 

Thanks.

 

 

 

 

1 ACCEPTED SOLUTION
MattAllington
Community Champion
Community Champion

Visuals will always display a column if there is at least ine non blank value. If there is a column of 0s, they will be displayed. You can simply not load zero values in your data model (filter on load) or you can write measures that return blank rather than zero. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

1 REPLY 1
MattAllington
Community Champion
Community Champion

Visuals will always display a column if there is at least ine non blank value. If there is a column of 0s, they will be displayed. You can simply not load zero values in your data model (filter on load) or you can write measures that return blank rather than zero. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.