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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
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.