Forum Discussion

Prashanth_SJ's avatar
Prashanth_SJ
Frequent Visitor
8 years ago

Search exact text

Hi All, 

I was trying to search for a string within the cell. In excel, i was able to get an exact keyword output. Can i get the same in Power BI. In below two conditions, word 'week' is appearing, however i wanted to see them as two different values. 

=IFERROR(IF(SEARCH("babyweek6_f",$N2)>0,1,0),"")

=IFERROR(IF(SEARCH("week",$N2)>0,1,0),"")

 

I tried same with DAX, but, it is returning only word 'week' from the cell. 

Can anyone help on this.