Table A has transactions that show an item's "Old Status" and "New Status" along with the date of the transaction. For example, row 1 shows that item XYZ changed from "Regular Price" to "Promo Price" on 1/1/2023. Row 2 shows that item XYZ changed from "Promo Price" to "Regular Price" on 1/4/2023. Row 3 shows that item XYZ changed from "Regular Price" to "Clearance" on 1/6/2023. etc
Table B has a list of all items
Using Magic ETL, how can I create Table C to include Date | Item | Status, showing 1 row per item per day for all days including the status listed from Table A
EDIT: The specific challenge is finding a technique that would allow me to identify the 'status' of each item, on each day, using the sparse transactional data from Table A
In the example above, I would expect the following results for item XYZ
1/1/23 | XYZ | Regular Price
1/2/23 | XYZ | Regular Price
1/3/23 | XYZ | Regular Price
1/4/23 | XYZ | Promo Price
1/5/23 | XYZ | Promo Price
1/6/23 | XYZ | Clearance