Forum Discussion
Rocky_Brown
4 years agoHelper I
undefinedError whane using Search function in DAX
I am trying to search a field with multiple text scenarios but get an error. I coulduse the help to see if this can be done Search("*Text1*" || "*Text2*",'tableName[FieldName, 1, 0)= 1, "Not...
- Anonymous3 years ago
Hi Rocky_Brown ,
For your requirement, you could try Power Query approach, you can populate the search text into list and create custom function to iterator each one of them to check if within the text. Please refer to thread below:
powerbi - How to search multiple strings in a string? - Stack Overflow
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
tamerj1
4 years agoCommunity Champion
Rocky_Brown
Would you please explain with one example what are you trying to achieve?