Forum Discussion
contains statement
I have a simple statement tha tI need to implement, but it seems so difficult.
All I need is a calculated column based on an existing column
ne column = if 'existing column A' like '%good%' then 'Y' else 'N' end
Hi cherry_b
Please try this
yes or no = IF(IFERROR(SEARCH("*good*";Table1[test]);-1)=1;"Y";"N")
Note this: The search function is case insensitive
Tell me if this is ok for you.
HI, you can do this in Query Editor: (Add Column - Conditional Column)
Or if you need in DAX:
Column = IF(SEARCH("Good",Table1[Status],,0)>0,"Y","N")Regards
Victor
Lima - Peru
3 Replies
- VvelardeCommunity Champion
HI, you can do this in Query Editor: (Add Column - Conditional Column)
Or if you need in DAX:
Column = IF(SEARCH("Good",Table1[Status],,0)>0,"Y","N")Regards
Victor
Lima - Peru
- cherry_bNew Member
I have a simple statement tha tI need to implement, but it seems so difficult.
All I need is a calculated column based on an existing column
ne column = if 'existing column A' like '%good%' then 'Y' else 'N' end