Forum Discussion
mpaukee
9 years agoRegular Visitor
Search multiple texts in a string
I am looking to replicate the following excel formula in Power BI. if(or(SUMPRODUCT(--ISNUMBER(SEARCH({"Flood","Freez","Adverse Weather","Severe Weather","Earthmovement","Earth movement","Hailsto...
- 9 years ago
For your requirement, you can 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:
https://stackoverflow.com/questions/35316657/how-to-search-multiple-strings-in-a-string/35324537
Regards,
v-sihou-msft
9 years agoMicrosoft Employee
For your requirement, you can 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:
https://stackoverflow.com/questions/35316657/how-to-search-multiple-strings-in-a-string/35324537
Regards,