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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
alanuxx
Frequent Visitor

Power BI Exclude All Zero columns on Matrix Table

Hello Everyone , 

 

I have fact table which has columns like this . There are 2 description table of branches and products . 

 

alanuxx_0-1686487153699.png

 

i am using Matrix Table component . As you can see below picture  The number of 118,119 and 12 branches are on Branch table but there is no data for the choosen filter(There is no data for Month_id=202306  filter ) .  İ would like to exclude all zero columns like this .  Only Branch code  1 and Branch code  2 should be shown on the matrix . 

 

alanuxx_1-1686487578849.png

 

How can i do that ?

 

 

Regards 

 

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @alanuxx ,

 

Whatever measure you use in the Values tile of your matrix should return blank if there's no value at all. If the data is zero, it will be returned as zero. As a workaround, you can use a measure like below

New Measure =
IF ( [Current Measure] = 0, BLANK (), [Current Measure] )

and use this in your matrix instead.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

2 REPLIES 2
danextian
Super User
Super User

Hi @alanuxx ,

 

Whatever measure you use in the Values tile of your matrix should return blank if there's no value at all. If the data is zero, it will be returned as zero. As a workaround, you can use a measure like below

New Measure =
IF ( [Current Measure] = 0, BLANK (), [Current Measure] )

and use this in your matrix instead.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

It worked .Thank you so much.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors