Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generate calculated members automatically ?

Status
Not open for further replies.

jcoira

Programmer
Sep 26, 2001
51
US
Hi,

I need to create a set of calculated members (around 30) in one of my OLAP cubes and would like to do it from a script or something similar to avoid the laborious task of creating them one by one (calculations are very similar)

Maybe using DSO object model or MDX I can do it but I cannot figure out how.

Any clue?

Thank you

// jcoira
 
I have a dso app the reads in a file of containg Calculated measures and runs them using the Creat Command Statement.

Set your Server and DB and Cube properties the use the DSO.Command.

the mdx looks like this

CREATE MEMBER CURRENTCUBE.<Dimension>.[RAC] AS 'MDX'

Hope this helps.
Paul
 
Thank you Paul. It seems to be what I need.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top