Forum Discussion

Kamchokshi's avatar
Kamchokshi
New Member
3 years ago
Solved

DAX question

Hi i am new to Power BI.  I need a DAX formula to check if fields contain a particular word.  if text contains the word remote then return "yes" otherwise "no"   example 123Remotexyz. retur...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Kamchokshi  ,

     

    You can create a new column and input the following code:

    Column =IF(CONTAINSSTRING('Table'[Column1],"remote"),"Yes","No")

     

    Output:

     

     

     

    Best Regards,

    Yolo Zhu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.