Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create calculaed members in Excel 2007 Pivot tables

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel should let me create pivot tables of non-numeric data. Geek4Life Excel Discussion (Misc queries) 4 April 25th 17 11:07 PM
Pivot Tables & Excel 2007 Cassie Excel Discussion (Misc queries) 1 July 28th 09 06:57 PM
Pivot Tables in Excel 2007 beata Excel Discussion (Misc queries) 8 March 6th 08 05:35 PM
Building pivot tables in Excel 2007 based on existing pivot tables? [email protected] Excel Discussion (Misc queries) 4 December 26th 07 08:05 PM
Excel 2007 Pivot tables Old Keith Excel Worksheet Functions 3 August 5th 07 02:28 AM


All times are GMT +1. The time now is 11:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"