Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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","Hailstorm","Windstorm","Wind storm","Winterstorm","Winter storm","Storm","Tornado","Cyclone","Derecho","Natural Peril","East Coast low in Australia","Earthquake","Typhoon","Hail Storm","Heavy Rain","Mudslide","Thunder","Polar Vortex","Torrential Rain","Tsunami","Wind damage","Hurricane"},[@[Global Loss Event Name]])))>0
this doesn't work in DAX unfortunately.
Solved! Go to Solution.
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,
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,
User | Count |
---|---|
101 | |
90 | |
78 | |
70 | |
69 |
User | Count |
---|---|
110 | |
96 | |
95 | |
74 | |
71 |