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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
goms
Frequent Visitor

Find Specific text in a column and display a corresponding value

For example, I have a column called "Status"

status.PNG

 

 

 

 

 

 

and I want to create a new column that will display the "Status in Words" like if the "Status" contains (NS) then it will show Not Started, (IP) - In Progress, (CLSD) - Closed

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi there

 

I would suggest easily doing this in the Query Editor using the Conditional Column.

 

Below is what the image looks like.

Power BI Conditional Column.png

 

If you require to get a better understanding of how to use the conditional columnm you can see this blog post by Matt Allington

 

http://exceleratorbi.com.au/conditional-columns-power-bi-desktop/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

1 REPLY 1
GilbertQ
Super User
Super User

Hi there

 

I would suggest easily doing this in the Query Editor using the Conditional Column.

 

Below is what the image looks like.

Power BI Conditional Column.png

 

If you require to get a better understanding of how to use the conditional columnm you can see this blog post by Matt Allington

 

http://exceleratorbi.com.au/conditional-columns-power-bi-desktop/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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