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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
henry24007
Helper I
Helper I

replacing 0 to text in table

I would like to replace all the 0 to 'Not provided' 

henry24007_0-1667880045416.png

The above value column that I up-pivoted different columns' values. As you can see there are some 0, I would like to make it to  'Not provided' so that it can be shown in my table/matrix visual

 

henry24007_1-1667880151130.png

So the above matrix visual with 0 can turn to the text 'not provided'. Is it possible to do that?

4 REPLIES 4
v-yalanwu-msft
Community Support
Community Support

Hi, @henry24007 ;
Sorry I can't reproduce your issue,

If the above one can't help you get the desired result,  It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi, @henry24007 ;

You could create a measure.

measure =
VAR _sum =
    SUM ( 'table'[value] )
RETURN
    IF ( _sum = 0, "Not provided", FORMAT ( _sum, "0" ) )


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

I don't know why it did not work. It only works when I turned the "not provided" to BLANK()

henry24007_0-1667993253248.png

 

When I change it to BLANK()

henry24007_1-1667993314402.png

 

amitchandak
Super User
Super User

@henry24007 , Use replace in power query

 

Power Query Replace Value: https://youtu.be/hkZhZbR7Kmk

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.