Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, further to the post already resolved (see here https://community.powerbi.com/t5/Power-Query/Keyword-search-to-return-exact-word-match/m-p/723186#M2... ), I would like to know if anyone has an approach for dealing with plurals for a keyword list?
Using the list approach rather than Text.ContainsAny is beneficial as it eliminates false matches, ie soft / software, but does not pick up where the relevant keyword is appropriately a part of a larger work, a plural being the most obvious occurance.
I am currently duplicating my keyword list and appending "s" to each one, thus loading a double set of keywords. Am wondering if anyone has a more scientific approach for keyword matching using a keyword list.
Cheers
Phil
@ImkeF @MarcelBeug (have linked you both as you have helped or I have used your posts related to this)
Solved! Go to Solution.
Hi @PhilC ,
you can either transform the existing List to a list of plurals and append it to your original list.
A simple method would be this
List.Transform(yourList, each _ & "s")
or you search for an API that delivers more accurate versions.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Hi @PhilC ,
you can either transform the existing List to a list of plurals and append it to your original list.
A simple method would be this
List.Transform(yourList, each _ & "s")
or you search for an API that delivers more accurate versions.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
53 | |
21 | |
13 | |
11 |