The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi
There have been solutions offered regarding searching string text using a list of values, eg:
2. https://community.powerbi.com/t5/Desktop/joinAlgorithm-and-keyEqualityComparers/m-p/182148#M79842
...but these do not address the following challenge
PROBLEM
Text: "I LOVE MOTORBIKES".
List of Values: BIKES, BIKE, MOTOR, MOTORBIKE, MOTORBIKES
CHALLENGE: When I perform the comparison, ONLY "MOTORBIKES" should return TRUE.
Is there a way of doing this in Power Query
Thanks in advance
Alfred
Solved! Go to Solution.
Can you please show me how to do this? I am stuck. Thank you.
you convert the text to list and then use list comparators, e.g. List.Contains
https://docs.microsoft.com/en-us/powerquery-m/list-contains
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.