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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Gopinath_iyer
Helper II
Helper II

blank in numeric column

Hi

 

I am creating a matrix view with some numeric columns and i want to show the cells with "0" value as blank.

If i replace the value then data type changes.

Is there any way to deal with this?

 

regards,

Gopi

1 ACCEPTED SOLUTION
Kishore_KVN
Super User
Super User

Hello @Gopinath_iyer ,

 

Dont replace value in Power Query Editor, create a new column in Power BI Desktop with that Blank values and use it in the Matrix Visual.

 

For example if your data is as below:

Kishore_KVN_0-1686725651275.png

In Power BI create new Calculated column as below:

Kishore_KVN_1-1686725686624.png

 

Now drag the sales new into the matrix visual and the output with sales and sales new looks as below:

Kishore_KVN_2-1686725732510.png

 

First visual is just with Sales and second visual is with Sales New. 

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

 

 

View solution in original post

3 REPLIES 3
PhilipTreacy
Super User
Super User

Hi @Gopinath_iyer 

 

I know you've already accepted a solution to this but I think a better way is to use a Custom Format to hide the 0's. 

 

This way you don't have to add a column to your data and have an unneccesary column making your file bigger than it needs to be.

 

To apply the Custom Format, click on the values column, then in the Ribbon enter this format string in the Format area 0;0;; and hit Enter to apply it

 

frmtt.png

 

Read this for more info on PBI Custom Format Strings

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Kishore_KVN
Super User
Super User

Hello @Gopinath_iyer ,

 

Dont replace value in Power Query Editor, create a new column in Power BI Desktop with that Blank values and use it in the Matrix Visual.

 

For example if your data is as below:

Kishore_KVN_0-1686725651275.png

In Power BI create new Calculated column as below:

Kishore_KVN_1-1686725686624.png

 

Now drag the sales new into the matrix visual and the output with sales and sales new looks as below:

Kishore_KVN_2-1686725732510.png

 

First visual is just with Sales and second visual is with Sales New. 

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

 

 

Thanks for the help

Its working fine

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Kudoed Authors