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,
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
15 | |
13 | |
12 | |
11 |