I am trying to make a visual in Power BI that shows me what people order second, if they order x product first. Very similar to a basket analysis but I don't want to know what was in the same cart as much as what they bought when they came back a second time, given what they bought the first time.
It is important that I be able to click the first product in a Slicer as a form of filtering.
For example, if I click 'Steak' in a Slicer, that needs to set the visual to show me: of the people who ordered Steak first, what did they order second (as a Count)? -> Example: 2 ordered Mashed Potatoes and 1 ordered Green Beans.
This will help me see what to upsell customers, given their first order.
I have the following example table information to work with
| Customer | Index of Order (By Customer) | Product |
|---|---|---|
| Greg | 1 | Steak |
| Cindy | 1 | Steak |
| John | 1 | Pork |
| Greg | 2 | Mashed Potatoes |
| Greg | 3 | Cake |
| Cindy | 2 | Mashed Potatoes |
| Susie | 1 | Steak |
| John | 2 | Mashed Potatoes |
| Susie | 2 | Green Beans |
