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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
AlanP514
Helper V
Helper V

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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