Forum Discussion
cj_sh
6 years agoRegular Visitor
Finding fix text in the string
I am fetching data from SharePoint list. Requirement: there is a string, from which I need to find two fix words (AD and PC), and send the finding into a new column.
- 6 years ago
Hi cj_sh ,
You could add if() function to return the results you want.
if Text.Contains([Column1],"PC")=true then [Column1] else "Your other result"
Anonymous
6 years agoNot applicable
Hi cj_sh ,
The easiest way to achieve this is Conditional Columns in Power Query.
Please Use Operator as contains or Equal according to your other options.
Please use the attached picture as reference.
Best Regards,
Gaurav Raj Singh