The input table for this example consists of monthly sales and profit data for several products over three years. An excerpt from the table is shown here.
Product | Year | Month | Sales | Profit |
---|---|---|---|---|
1 | 2014 | 1 | 210 | 49 |
1 | 2014 | 2 | 199 | 40 |
1 | 2014 | 3 | 139 | 59 |
1 | 2014 | 4 | 165 | 135 |
1 | 2014 | 5 | 201 | 76 |
1 | 2014 | 6 | 133 | 109 |
1 | 2014 | 7 | 211 | 40 |
1 | 2014 | 8 | 126 | 75 |