Search found 2 matches

by ChrisDixon
Wed Oct 20, 2010 10:49 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Using EXPAND()
Replies: 2
Views: 2820

Re: Using EXPAND()

Thanks for your reply.

I ended up using 15 if statements and variables to create cubes with 2 - 16 dimensions instead. It isn't very elegant, but it works
by ChrisDixon
Fri Oct 01, 2010 8:14 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Using EXPAND()
Replies: 2
Views: 2820

Using EXPAND()

I am unsuccessfully trying to use the EXPAND function to run dynamic code. A simplified version of the code is: strNewCube = 'NewCube'; strDimList = '''Dim1'', ''Dim2'', ''Dim3'''; CUBECREATE(strNewCube, EXPAND('%strDimList%')); The returned error is 'Not enough arguments' Hopefully somebody can hel...