Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All,
In one column called Product Availability and I have values like Yes, No, May Be, Not Sure, so depending on these values I need to create a new Column and the values should be for Yes - Available, No - Not Available, May Be - May Be Available, Not Sure - Need to Be Researched, Any help is appreciated.
Thank You
Solved! Go to Solution.
Hi @gaby58 ,
Create a new custom column in Power Query like this:
if [originalColumn] = "Yes" then "Available"
else if [originalColumn] = "No" then "Not Available"
...
...
else //your escape value e.g. null, or "Unknown" etc.
Pete
Proud to be a Datanaut!
Hi @gaby58 ,
Create a new custom column in Power Query like this:
if [originalColumn] = "Yes" then "Available"
else if [originalColumn] = "No" then "Not Available"
...
...
else //your escape value e.g. null, or "Unknown" etc.
Pete
Proud to be a Datanaut!
Thank you so much, it worked!