PC Review


Reply
Thread Tools Rate Thread

Create calculaed members in Excel 2007 Pivot tables

 
 
Ecke
Guest
Posts: n/a
 
      26th May 2008
Is there anyone that has experience working with user client side calculated
members in Excel 2007 Pivot Tables?

What we would like to implement is an Excel add-In that lets the end user
create client side calculated members, calculated measures and sets in Excel
2007 Pivot tables based on SSAS 2005 cubes. All this in a user-friendly way.
The base code for doing this using the CalculatedMembers.Add function is
fairly well documented, for example here
http://blogs.msdn.com/excel/archive/...votTables.aspx,
there is also a MS Add-in that allows the user to write MDX code to add
calculated members here http://www.codeplex.com/OlapPivotTableExtend

As our user base is not used to writing MDX code we have build a drag and
drop interface, that allows the user to build the calculated members without
having to know the underlying MDX. All this works beautifully, the problem is
only that the object library that exposes the CaclulatedMembers.Add method is
very tricky to use. It will only accept some of the MDX code supplied even if
the MDX itself is correct. There are also cases when the Add function works,
but the calculated member cannot be found anywhere in the pivot table. (and
yes, the Show Calculated members property is set to True). Also, it seems
impossible to create a Set even if following the MS described limitations
(Excel 2007 only support named sets consisting of members from a single
hierarchy).

The Add method only returns the generic 1004 error code so it is of no use
in helping us find the reason the method fails.

• Is there anyone that has any experience with the CaclulatedMembers.Add
function and could give us some hints on what the limitations are?

• Is there a way to find the under-lying error code other than the generic
1004.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Excel Pivot tables from MS Access chris Microsoft Access VBA Modules 1 4th Mar 2010 11:24 PM
Excel should let me create pivot tables of non-numeric data. Geek4Life Microsoft Excel Misc 2 10th Aug 2009 04:12 PM
Pivot tables in Excel 2007 momb Microsoft Excel Misc 0 28th Apr 2009 07:06 PM
Pivot Tables in Excel 2007 beata Microsoft Excel Misc 8 6th Mar 2008 05:35 PM
Building pivot tables in Excel 2007 based on existing pivot tables? jj.jigga.johns@gmail.com Microsoft Excel Misc 4 26th Dec 2007 08:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:33 AM.