The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am looking to add a column that returns a yes/no if there is any instance of a specific value in another table related to a linked key field.
I have two tables, an Orders table and an OrderItemHistory table. They are linked together on the OrderItemID key field. The status history table has every status that particular item has gone through. What I want is to identify on the Orders table if the item went into a shipped status, "SHP".
Some items get canceled or never ship so i'd like those excluded / tagged with a "No". Could be a 1,0 instead as well.
Solved! Go to Solution.
User | Count |
---|---|
78 | |
77 | |
38 | |
31 | |
28 |
User | Count |
---|---|
106 | |
98 | |
55 | |
49 | |
47 |