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
AlanP514
Post Patron
Post Patron

Replacing numerical values with text values

AlanP514_0-1667813818005.png

Hi All, I want to Replace these -2 values with N/A, Is there any possible way to replace  numerical values with text as N/A values


Thanks 
@Alan p James

1 ACCEPTED SOLUTION

4 REPLIES 4
johnt75
Super User
Super User

You could create a custom column which is null if the value of the base column is less than 0 else it is the current value of your base column. Then you can delete the base column and rename the new one.

Could you please show one demo

 

johnt75_0-1667817200301.png

 

AlexanderPrime
Solution Supplier
Solution Supplier

Using Replace Values in Power Query you can use "null" as the replace with value and it won't break the number formating of the column, 

 

AlexanderPrime_0-1667814569424.png

AlexanderPrime_1-1667814582236.png

 

 


Please note - I am not affiliated with Microsoft, I'm just an end user like yourself.
Just a regular guy doin' Data Science.

If my post has helped you, please don't forget to thumbs up or click "Accept as solution" if it solved your problem!

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.