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.
Hello
Need to find if a value is in another table.
Has a table that contains inventory numbers (List).
Has two tables containing inventory (List_1 and List_2).
Want to add two columns that contain a "Yes" or "No" depending on if the value found in the other tables.
The tables containing inventory can have the same inventory number more than once.
Inventory numbers
Inventory 1
Inventory 2
Solved! Go to Solution.
Use in values(), this is very simple to check if a value in others columns or tables.
Is in 1 = IF(List[ID] in VALUES(List_1[ID]),"Yes","NO")
Is in 2 = IF(List[ID] in VALUES(List_2[ID]),"Yes","No")
Best regards
Paul Zheng
Use in values(), this is very simple to check if a value in others columns or tables.
Is in 1 = IF(List[ID] in VALUES(List_1[ID]),"Yes","NO")
Is in 2 = IF(List[ID] in VALUES(List_2[ID]),"Yes","No")
Best regards
Paul Zheng
Try
Is in 1 = if(isblank(countx(filter(list1,list1[ID]=list[ID]),list1[ID])),"No","Yes")
Is in 2 = if(isblank(countx(filter(list2,list2[ID]=list[ID]),list2[ID])),"No","Yes")
Appreciate your Kudos.
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 |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |