The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Solved! Go to Solution.
Hello @ghdunn
you can use the List.Contains function: https://docs.microsoft.com/en-us/powerquery-m/list-contains
if List.Contains({"a","b","c"}, [field1]) then "it contains it" else "it does not contain it"
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Hello @ghdunn
you can use the List.Contains function: https://docs.microsoft.com/en-us/powerquery-m/list-contains
if List.Contains({"a","b","c"}, [field1]) then "it contains it" else "it does not contain it"
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Thanks..I did look at ListContains but just didn't twig that the syntax would work like that...was so convinced that there would be some 'IN' condition hidden in 'M' 🙂 My bad. Thanks for super quick response.
User | Count |
---|---|
86 | |
84 | |
36 | |
35 | |
32 |
User | Count |
---|---|
95 | |
75 | |
66 | |
53 | |
53 |