Forum Discussion
Anonymous
6 years agoNot applicable
If and Contains
Hello,
I am new to Power BI and I need help creating an additional column using an IF and Contains Statement.
I am looking for an IF statement similar to = IF (Table, Name, contains "DEV" then "BOL" other wise "Other".
Anonymous
Try this:
Column = IF(LEFT('Table'[Name],3) = "DEV","BOL","OTHER")Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
2 Replies
- vivran22Community Champion
Anonymous
Try this:
Column = IF(LEFT('Table'[Name],3) = "DEV","BOL","OTHER")Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn