Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
14 | |
13 | |
13 | |
12 | |
12 |