Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
How do I go about doing this? I'm trying to get Result column by looking at LookUp table.
If text contains in LookUp table that match the Product, then True else False.
Table1:
| Product | Comment | Result |
| ABC | apple banana cherry | True |
| BCD | apple orange lemon | True |
| CDE | coconut watermelon mango | False |
LookUp:
| Product | Comment |
| ABC | kiwi |
| ABC | banana |
| BCD | orange |
| BCD | mango |
| CDE | apple |
| CDE | cherry |
| CDE | banana |
Solved! Go to Solution.
Hi @EZiamslow
let
Source = Table.NestedJoin(Table1, {"Product"}, LookUp, {"Product"}, "LookUp", JoinKind.LeftOuter),
Result = Table.AddColumn(Source, "Result", each List.ContainsAny(Text.Split([Comment], " "), [LookUp][Comment]))
in
Result
Stéphane
Hi @EZiamslow
let
Source = Table.NestedJoin(Table1, {"Product"}, LookUp, {"Product"}, "LookUp", JoinKind.LeftOuter),
Result = Table.AddColumn(Source, "Result", each List.ContainsAny(Text.Split([Comment], " "), [LookUp][Comment]))
in
Result
Stéphane
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |