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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.