Forum Discussion

YGoe's avatar
YGoe
New Member
9 years ago
Solved

Search text DAX not working

Dear All,    I am trying to perform an if test on a column that contains strings. After searching the web, I decided to use the search function.  I keep running in an error telling me that a singl...
  • sokg's avatar
    sokg
    9 years ago

    Is home accounts{acc_name] already a calculated column?

     

    Try this one as a column

     

    test = IF(IFERROR(SEARCH("Transient Retail",'home accounts'[acc_name]),-1)=1,10,0)