Forum Discussion
johunt
9 years agoNew Member
Error in FIND/SEARCH function
I keep getting the following error The search Text provided to function 'SEARCH' could not be found in the given text. when i put in this formula UK Region = IF(ISNUMBER(SEARCH("region",Table1[...
Hasan
9 years agoResolver I
Can you change your formula to IF(ISTEXT(SEARCH.........)
johunt
9 years agoNew Member
UK Region = IF(ISTEXT(SEARCH("Region",Table1[Region ])),"UK", "International")
The search Text provided to function 'SEARCH' could not be found in the given text.
Hi there
Changed it, but still the same error... pic attached ...
- Vvelarde9 years agoCommunity Champion
Hi, Try with this:
UK Region = IF(ISNUMBER(SEARCH("Region",Table1[Region],,BLANK())),"UK","International")Regards
Victor
Lima - Peru
- johunt9 years agoNew Member
Fantastic! That worked! Thank you so much
- v-chuncz-msft9 years agoCommunity Support
You could use DAX below as well.
UK Region = IF ( SEARCH ( "Region", Table1[Region],, 0 ) > 0, "UK", "International" )
- AliceW6 years agoPower Participant
Cool; I had the same issue and it works. Thank you!