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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

If text column CONTAINS specified value, give a new value in new column/measure

Hi experts,

 

I have a column below (axt_status) from which I am trying to generate a new column/measure which returns a specific text value (green, yellow, red etc...) based on certain integer values in the axt_status column. I have tried IF functions but can't seem to get the function to work. Any help much appreciated!

 

 

Capture.PNG 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

Here is an example for your reference.

https://community.powerbi.com/t5/Desktop/Calculated-Column-with-multiple-if-or-or-statements/m-p/219145#M97216

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

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

Here is an example for your reference.

https://community.powerbi.com/t5/Desktop/Calculated-Column-with-multiple-if-or-or-statements/m-p/219145#M97216

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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors