Hi,
I have two sites with SSAS cubes that are very similar.
The cubes have a default member in the calendar dimension to pick the current week and this works great.
The problem i have (but only on one of the sites) is if i create a pivot in excel and select multiple items from the calendar dimension it will default to the current week if that current week is one of the multiple items selected.
For example if it's week 33 and i select week 31 and 32 in the filter it works. However if i add week 33 then the whole pivot defaults to week 33 only.
The working cube (site) is running SQL 2008 SP1 and excel 2007. At the second site i've run this on both SQL 2008 SP2 (differnet to other server) and 2012 on excel 2007 and 2010 and it just doesn't work.
Here is the MDX from both excel pivots. There is an obvious difference which is resulting in the bad results:
Working:
WITH MEMBER [Financial Calendar].[Year-Week].[XL_QZX] AS 'Aggregate({[Financial Calendar].[Year-Week].[Week].&[201437],[Financial Calendar].[Year-Week].[Week].&[201436]})'
SELECT FROM [Merchandise Data View]
WHERE ([Measures].[Sales],[Financial Calendar].[Year-Week].[XL_QZX])
Not working:
SELECT FROM (SELECT ({[Financial Calendar].[Year-Week-Date].[Week].&[201432],[Financial Calendar].[Year-Week-Date].[Week].&[201433]}) ON COLUMNS FROM [Sales and Stock])
WHERE ([Measures].[Net Sales$])
Does anyone have any ideas on this. why is one cube generating a MEMBER in the MDX when doing the selection where as one is not. My gut feeling is it has to do with a setting (or version) of the cube but i have exhaused all other avenues.
Any help would be much appreciated.