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 all. I would like to create a list called WIP. I have 3 querys - all IDs, than another called warehouse and one shipped. I would like to remove the warehouse and the sipped parts ID from the "all ID" list to get the production parts.E.g:
IDs , 11,22,23,25,27,28,30,33,35 Warehouse: 28,27,25, Shipped: 23,22,11 = WIP : 30,33,35 (a-b-c=d)
What would be the best method?
Thank you in advance
Solved! Go to Solution.
Hi @Tommyvhod
You can do that with EXCEPT( ) and UNION( ). Assuming ID, Warehouse and Shipped are tables:
1. All columns must have the same name, so rename, for example, to ID[ID], Warehouse[ID] and Shipped[ID]
2. Create a new calculated table (one column with your list):
WIP = EXCEPT ( DISTINCT ( ID[ID] ), UNION ( DISTINCT ( Warehouse[ID] ), DISTINCT ( Shipped[ID] ) ) )
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers
Hi @Tommyvhod
You can do that with EXCEPT( ) and UNION( ). Assuming ID, Warehouse and Shipped are tables:
1. All columns must have the same name, so rename, for example, to ID[ID], Warehouse[ID] and Shipped[ID]
2. Create a new calculated table (one column with your list):
WIP = EXCEPT ( DISTINCT ( ID[ID] ), UNION ( DISTINCT ( Warehouse[ID] ), DISTINCT ( Shipped[ID] ) ) )
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers
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 |
---|---|
43 | |
23 | |
21 | |
15 | |
15 |
User | Count |
---|---|
45 | |
31 | |
30 | |
18 | |
17 |