How to use Date Picker as a Slicer to restrict what data to retrieved in PivotTable

jgwhitfield2

New Member
Joined
Mar 5, 2013
Messages
9
I am not sure if this is one or two issues. I am pulling data from my TSQL DB into a PowerPivot table and the field is formatted as such: CONVERT(char(10), IVH_DELIVERYDATE, 101). The data type in the PowerPivot table is also set to Date. When I create the pivot table from the PowerPivot dataset, the date data is being presented as the "General" format. When I attempt to change it via the "Format Cell's" function in Excel, I get no change in the data format.

I am not sure if this is causing my inability to select date range based on "Year, Month, and Day or not. Ideally, I'd like the PivotTable (PowerPivot) user to use the Date Picker to just select the dates that they desire the information for. If the DatePicker is not able to be used, I am happy to settle for the DateFilter function, but right now the only thing I am getting is a listing of EVERY SINGLE date in the DataSet.
 
ok, I'll give it a go. Once I add the dates table, then I do a join with my data table? Then when I add the "Date column into the pivot table in Excel I need to use the "Date" from the date table not the Data table?
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
correct, join the new table to the existing table using the SHIP_DATE and your dates column on your new table. Then, when creating the pivot table, use the dates column from your new dates table and you'll see how magic takes place...
try taking a screenshot but sometimes you can't capture magic in a simple picture :)
 
Upvote 0
The current version number of v2 is 11.0.3129.0 - this was a problem I also had. Uninstall your current version and reinstall from http://www.microsoft.com/en-us/download/details.aspx?id=29074
 
Upvote 0
[TABLE="width: 100%"]
<tbody>[TR]
[TD]PowerPivot version
[/TD]
[TD="width: 319"]Version number
[/TD]
[/TR]
[TR]
[TD="width: 319"]SQL Server 2008 R2 PowerPivot - initial release (V1)
[/TD]
[TD="width: 319"]10.50.1600.1
[/TD]
[/TR]
[TR]
[TD="width: 319"]SQL Server 2008 R2 PowerPivot - updated release (V1)
[/TD]
[TD="width: 319"]10.50.2500.0
[/TD]
[/TR]
[TR]
[TD="width: 319"]SQL Server 2008 R2 PowerPivot - current release (V1)
[/TD]
[TD="width: 319"]10.50.4000.0
[/TD]
[/TR]
[TR]
[TD="width: 319"]SQL Server 2012 PowerPivot (V2)
[/TD]
[TD="width: 319"]11.0.2100.60
and above
[/TD]
[/TR]
[TR]
[TD="width: 319"]Office 2013 PowerPivot - consumer preview (V3 or 2013)
[/TD]
[TD="width: 319"]2011.110.2809.6
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Removed v1 and installed v2.

Made "Calendar" table the "Date Table" based on the "Date" Column

Created a relationship from Calendar table (on Date column) to Orders table (Order Complete date) - Order table has multiple orders per day so joining from Orders --> Calendar gave me a duplicate record error: https://docs.google.com/file/d/0B_grSMhsyyr6c0dEbjdyNGZVNVE/edit?usp=sharing

Added Calendar.Date to a Flat Pivot Table and was able to access Date Filters

Attempted to add OrderData.Order# to the pivot but received an error (The command was canceled.": https://docs.google.com/file/d/0B_grSMhsyyr6ZElwRXJJTjRxMUk/edit?usp=sharing

This made me curious about the "join" so I added the joined column to the pivot table (OrderData.OrderCompleteDate). This returned every record from the OrderData table (300 distinct dates) for each day in the Calendar Table (1828 dates) 548,400 rows of date data: https://docs.google.com/file/d/0B_grSMhsyyr6dFh1ZXJYbDMtQzA/edit?usp=sharing


This makes me wonder if my I did my join incorrectly. heehee, we addressed one issue but now there is another. Feels like a Monday.
 
Upvote 0

Forum statistics

Threads
1,223,938
Messages
6,175,528
Members
452,651
Latest member
wordsearch

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top