Hello Everyone
I am looking to get all months between min and max dates for a product to display on a stacked bar chart.
For example
if Product A is selected in the slicer it should show me Jan, Feb, Mar and April. Feb as it is blank should have status of the preceding month, in this example - Ordered.
if Product B is selected in the slicer, it should show me Jan, Feb and Mar. Feb as it is blank should have preceding status, in this example - Shipped.
Blockquote
This is my data and I have this set up in the attached pbix with a date table
Product Status.pbix (42.1 KB)
Product | Status | Date | Hierarchy |
---|---|---|---|
A | Ordered | 1/1/2020 | 1 |
A | Shipped | 3/2/2020 | 2 |
A | Delivered | 4/6/2020 | 3 |
A | Returned | 4 | |
B | Ordered | 1/3/2020 | 1 |
B | Shipped | 1/6/2020 | 2 |
B | Delivered | 3/16/2020 | 3 |
B | Returned | 3/17/2020 | 4 |
Blockquote