Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

PowerPivot Date/Calendar Table and Slicer Issue

$
0
0

I am trying to use PowerPivot to summarise sales data.  The data has 3 dates:

- Production date

- Wholesale date

- Retail date

My sales data stores dates in text format so my first step was to create columns for DATEVALUE in PowerPivot.  I then linked this to my Date Table which has all dates in column A and "Month", "Year" etc in following columns.

I want to be able to use a slicer on June 2012 for example and it will show me the number of items produced, wholesaled and retailed in that month.  To do this I have:

- Created a pivot table with region in rows and count of production, wholesale and retail in columns

- Insert a slicer linked to my Date Table rather than to individual date columns

Now when I use the slicer to filter I am getting unexpected results.  It appears that the slicer first filters on production in June, then on wholesale in June and then on retail in June meaning that the numbers are incorrect. If you imagine filtering this manually you would get incorrect results if you forgot to clear your filters every time you checked a new column.

I have searched for hours online and checked my date table is correct but no luck.  Help would be appreciated!

Thanks

Sam


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>