sfitzpat11
New Member
- Joined
- Jan 24, 2017
- Messages
- 16
Hello, I need help with a pivot table to compare year to date sales between two different years. My data is arranged as follows:
* Column A contains the different products
* Column B contains the year of the sale
* Column C contains the country the product was sold to
* Column D contains January sales and E for February sales and so on
For the pivot table I want the 1st column to contain the product. The second column to be the first year and the third column to be the second year based on what I select from the Year slicer. I want the sales total for those years to be based on the months that I select but I cannot figure out how to created the slicer for the months since each month has its own column of data. I have been able to create this but only if I put the month field into the "Values". I want to do this via a slicer and I also do not want to display the monthly sales in the PT, only the totals. Please help.
* Column A contains the different products
* Column B contains the year of the sale
* Column C contains the country the product was sold to
* Column D contains January sales and E for February sales and so on
For the pivot table I want the 1st column to contain the product. The second column to be the first year and the third column to be the second year based on what I select from the Year slicer. I want the sales total for those years to be based on the months that I select but I cannot figure out how to created the slicer for the months since each month has its own column of data. I have been able to create this but only if I put the month field into the "Values". I want to do this via a slicer and I also do not want to display the monthly sales in the PT, only the totals. Please help.