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
arunbyc
Helper II
Helper II

How to display the zeros coming from table columns as blanks in a matrix?

I have four columns in a matrix. When a column has a non-zero value in any row,  then the row value in the other three columns will be zero. This is showing too many zeros in the matrix and I would rather show blanks. Is there any way to do this? I could only think of writing measures for each column saying "if(column_value = 0, blank( ), column_ value)" and displaying the measures in the matrix instead of the columns. What is a better/easier way to do this? Secondly, If this "measures" approach is followed, will it introduce any unintended complications?

 

Thanks for your help.

 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @arunbyc -To display zeros as blanks in a Power BI matrix, your approach of using measures is indeed the most straightforward and effective way.  you've created these measures, good approach and using measures like these has a minimal impact on performance, especially with simple logic like this.The built-in functionality of measures provides a direct way to handle this situation.

Measure_Column1 =
IF([Column1] = 0, BLANK(), [Column1])

measure_c2, measure_c3, measure_c4 and so on...

 

Hope the above information helps. 





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

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @arunbyc -To display zeros as blanks in a Power BI matrix, your approach of using measures is indeed the most straightforward and effective way.  you've created these measures, good approach and using measures like these has a minimal impact on performance, especially with simple logic like this.The built-in functionality of measures provides a direct way to handle this situation.

Measure_Column1 =
IF([Column1] = 0, BLANK(), [Column1])

measure_c2, measure_c3, measure_c4 and so on...

 

Hope the above information helps. 





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

Proud to be a Super User!





Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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