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.
Hello,
I try to do the following in Power Query:
I have a dataset which contains a text column and an other table (lookup table) with a list of words (around 200). If the text from my dataset contains one or more words from the lookup table i want to add those words in a new column (comma seperated)
Below an example of how I would like to have it.
I hope someone can help me with this, thanks in advance!!
Regards, Tiemen
Solved! Go to Solution.
@Anonymous
Please see attached file as well
@Anonymous
Please see attached file as well
Hi @Anonymous
See if this helps
First add a custom column
=Text.SplitAny([Text]," ?")
and then
Text.Combine( List.Select([Custom], each List.Contains(Lookup[Words],_,Comparer.OrdinalIgnoreCase)) , ",")