﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Data Warehousing / Analysis Services  / Date Filter in Excel for pivot table with cube data source not filtering / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 11:21:52 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Date Filter in Excel for pivot table with cube data source not filtering</title><link>http://www.sqlservercentral.com/Forums/Topic1073039-17-1.aspx</link><description>This has stymied me for some time as well.  Based on the question, I took a relook.  There are only two things required, as I found in [i]Designing SQL Server 2005 Analysis Services Cubes for Excel 2007 PivotTables[/i]:1. To enable date filtering in the PivotTable, first set the Type of the dimension to Time.2.  Set the ValueColumn property of the key attribute hierarchy in the time dimension to point to a date data type column in the source database. The DataType property should be set to Date.I had already had number 1.  #2 turned out to be the missing ingredient.</description><pubDate>Fri, 19 Oct 2012 10:58:13 GMT</pubDate><dc:creator>RonKyle</dc:creator></item><item><title>RE: Date Filter in Excel for pivot table with cube data source not filtering</title><link>http://www.sqlservercentral.com/Forums/Topic1073039-17-1.aspx</link><description>wow!interesting...i never tried that..thanks for the response..unfortunately i have moved on from that, could never get it working perfectly.</description><pubDate>Thu, 18 Oct 2012 03:58:51 GMT</pubDate><dc:creator>adzymcfadzy</dc:creator></item><item><title>RE: Date Filter in Excel for pivot table with cube data source not filtering</title><link>http://www.sqlservercentral.com/Forums/Topic1073039-17-1.aspx</link><description>Fixed this problem. For anybody out there Googling: If you are having trouble getting Excel 2007 or Excel 2010 pivot tables to work with date filters (showing blank or empty or no data) from an SQL Server Analysis Server (SSAS) cube, here's how you fix it:1 - Download AdventureWorksDW2008R2 database and attach it in on your localhost: http://adventureworksdw2008.codeplex.com/downloads/get/3722362 - Download, deploy, and process the Adventure Works 2008 (AW) cube:http://msftdbprodsamples.codeplex.com/releases/view/882523 - Open Excel 2010 - Point to AW cube - Make a pivot table and see for yourself that date filters work.4 - Open the AW cube - Open your cube - Compare every single property in every single part of your Date Dim to their Date Dim and make yours match theirs.5 - Rebuild your cube.6 - Your date filters now work! :-)P.S. Here are some things I changed in my cube, I don't know which one exactly fixed it:Dim:Set Unknown member to NoneKey:grouping behaviour: discouragegroupinginstanceselection: filtered listnull processing: automaticset namecolumntype: calendar -&amp;gt; date typedatasize 100valuecolumn : date (maybe should be datekey ??)Date:grouping behaviour: discouragegroupinginstance selection: filteredlistother fields:instanceselection: dropdownset value columnset attributehierarchyvisiblechanged all nullkeyprocessing to automatic in cube design matrix</description><pubDate>Thu, 18 Oct 2012 02:25:41 GMT</pubDate><dc:creator>richardc 90782</dc:creator></item><item><title>RE: Date Filter in Excel for pivot table with cube data source not filtering</title><link>http://www.sqlservercentral.com/Forums/Topic1073039-17-1.aspx</link><description>Has anyone got this to work?  I'm stuck too.Some people seem to have no trouble at all e.g.http://stackoverflow.com/questions/12532393/excel-pivot-table-date-range-filter</description><pubDate>Wed, 17 Oct 2012 02:45:50 GMT</pubDate><dc:creator>richardc 90782</dc:creator></item><item><title>RE: Date Filter in Excel for pivot table with cube data source not filtering</title><link>http://www.sqlservercentral.com/Forums/Topic1073039-17-1.aspx</link><description>i agree, i dont think it is a bug, but i cannot for the life of me figure out why it is doing this, will be lodging a call with ms tomorrow about it, hopefully more detail to follow, (this might be a good first blog post for me ).</description><pubDate>Sun, 01 May 2011 00:56:57 GMT</pubDate><dc:creator>adzymcfadzy</dc:creator></item><item><title>RE: Date Filter in Excel for pivot table with cube data source not filtering</title><link>http://www.sqlservercentral.com/Forums/Topic1073039-17-1.aspx</link><description>I have the exact same problem, what gives?  is this some sort of bug?  I can't believe this could be a real problem and go undetected for years.  this has got to be simple, doesn't it?  I can get excel to recognize my datetime field with a direct sql query but not in an analysis services cube time dimension?</description><pubDate>Sat, 30 Apr 2011 21:41:19 GMT</pubDate><dc:creator>mmikolyski</dc:creator></item><item><title>RE: Date Filter in Excel for pivot table with cube data source not filtering</title><link>http://www.sqlservercentral.com/Forums/Topic1073039-17-1.aspx</link><description>okmaybe an easier question, has anyone got the filtering functionality to work in excel 2007 or excel 2010, other than in Adventure works?:-)</description><pubDate>Wed, 09 Mar 2011 02:27:28 GMT</pubDate><dc:creator>adzymcfadzy</dc:creator></item><item><title>Date Filter in Excel for pivot table with cube data source not filtering</title><link>http://www.sqlservercentral.com/Forums/Topic1073039-17-1.aspx</link><description>hello all,after much googleing and setting of parameters , member values etc, i am at a dead endI am trying to get the date filtering for a pivot table workingmy time dimension is set to Time The attribute Date os set to a Type of DateIt's key column is set to a pk value (integerIt's name column is set to a field called dim_date (Wchar but date time in the table structure)It's value column is set to the same field above dim date (date) Data type is date, and format is short date.I have processed and deployed my cubes, however when trying to filter using between or any of the other builtin features of excel 2010 to filter by date, it results in no results .I'm unsure what other setting i need to set to make the filtering work properly. any help is much appreciated.</description><pubDate>Thu, 03 Mar 2011 20:03:45 GMT</pubDate><dc:creator>adzymcfadzy</dc:creator></item></channel></rss>