Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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

 

 

 

2 Replies

  • az38's avatar
    az38
    Community Champion

    Anonymous 

    try column

    Column = IF(SEARCH("DEV", Table[Name]) > 0, "BOL", "Other")

     

    vivran22 LEFT() function will be actual only for values which starts from BOL