Forum Discussion
gaby58
3 years agoFrequent Visitor
How to get these values into new Column
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 -...
BA_Pete
3 years agoSuper User
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
gaby58
3 years agoFrequent Visitor
Thank you so much, it worked!