Hi
I managed to create a macro to add a new dimension in Account dimension (parent-child dimension) using Alter Cube Statement.
In a case where users'd like to change the name of dimension they have just added, I'd like to create a MDX statement to be able change the name.
I did some research for the last 2 hours but couldn't find an example to perform the action.
ALTER CUBE [FinanceBudget]
UPDATE DIMENSION MEMBER [PLAccount].[Accounts].&[10817]
Name = 'Test3'
This is what I have came up with so far and I got an error message saying 'Query (3, 1) Parser: The syntax for 'Name' is incorrect.' (I am doing MDX query testing before making the Macro in Excel.)
I can grape the key and generate the statement up to the second line. There must be something I am doing it right. What would be the syntax to change the name of
a dimension.
Cheers!