Reputation: 1405
The setup is Excel 2013 PivotTables, getting data from a SSAS2014 cube.
The requirement is to allow users to aggregate measures over the Date dimension, using a strange kind of week in which Friday is the first day of the week.
Our time dimension has way too many hierarchies already, so I was hoping that the built-in Excel pivot-table "Group Field" functionality would allow users to show data at the Day level, and then aggregate by "weeks starting with Friday" - without us having to build a new Week hierarchy into the dimension and reprocess the entire cube.
No go, though. I can't get this "Group Field" command (in the PivotTable Tools ribbon, Analyze section) to ever be enabled when I click on a date field. (To be precise, I click on a particular day in the pivot-table; I click on the attribute over in the Rows section of the PivotTable Fields box; I click on the row header - no difference).
Here's what I've tried:
So I'm confused. Format Cells is a good quick way to find out if Excel is understanding cell contents as dates: but Format Cells doesn't work in the Row Labels of the PivotTable (either against AdventureWorks or against my cube).
Is there actually a way to make "Group Field" work on date dimensions in Pivot-Tables/SSAS? I hoped I'd find out through AdventureWorks, but that doesn't work either.
The closest parallel I can find on-line is here, where people suggest that the problem is Excel not understanding data as dates. But the answers in that thread are all aimed at people who pivot-tabling on data imported to Excel, rather than against SSAS:
Upvotes: 2
Views: 15268
Reputation: 1
When you create your pivot table off whatever data set there is a box prompting you to add the pivot to the data model. I'm not sure how that works with OLAP cubes but your pivots are going to the data model which will prevent you from grouping data within one file, as something added to the data set will be grouped together. Essentially breaking your ability to group within one data file.
Upvotes: 0
Reputation: 21
I was having the same problem. I think that I have it fixed.
This fixed it for me. Good Luck!
Upvotes: 2