![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Calculated members display in the pivot table fine when I use a cube from MS olap services provider, for example FoodMart Sales. Here is mdx that the pivot table uses: "SELECT NON EMPTY HIERARCHIZE(AddCalculatedMembers({DrillDownLevel({ [Store].[All Stores]})})) DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON COLUMNS FROM [Sales] WHERE ([Measures].[Profit])" The AddCalculatedMembers method is responsible for ensuring the calculated members are displayed in the pivot table. However, when I open a cube in a pivot table using a 3rd party provider, the mdx that the pivot table generates is: "SELECT NON EMPTY HIERARCHIZE({DrillDownLevel({[PRODUCT].[All PRODUCT]})}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON COLUMNS FROM [SALES] WHERE ([Measures].[QTY])" The only difference is that the AddCalculatedMembers method is not in the mdx, and therefore, the calculated members do not appear in the pivot table. I manually added the AddCalculatedMembers method to the mdx and executed it outside of Excel and it indeed returned the calculated members. Why is the AddCalculatedMembers method added to the pivot table mdx for the MS cube, but not for the 3rd party cube? I'm using Excel XP (2002). I read a lot of posts where people were having the exact same symptoms (calculated members appear in the filter drop-down, but not in the pivot table) in Excel 2000 and that it was supposed fixed in XP and later -- I suppose the AddCalculatedMembers method was the solution. However, it only appears fixed for MS cubes. I checked Excel 2007 to see if things were any better. There is a new pivot table option called "Show caluclated members from OLAP server" that adds or removes the AddCalculatedMembers method from the mdx. However, this option is disabled for the pivot table connecting to the 3rd party cube! So, it appears there is still no way to get calculated members from the 3rd party provider, only from the MS provider. Is there a good reason to not make this option available all the time!? Thanks, Casey |
![]() |
| Thread Tools | |
| Display Modes | |
| |