Page 1 of 1

ASCIIOutput without Aliases

Posted: Wed May 12, 2010 12:05 am
by ExApplix
I am using ASCIIOutput() function to export the cube data to a text file.

Code: Select all

ASCIIOutput(FileName, Dim1, Dim2, Dim3);
But my output has got the Alias names instead of Element names. I want the output with the actual element names - not the aliases. I know if I change my data source (to element names instead of using aliases in the source view) but I dont want to go on that path.

Is there a function by which I can get the element names? Please advice.

Re: ASCIIOutput without Aliases

Posted: Wed May 12, 2010 12:17 am
by Alan Kirk
ExApplix wrote:I am using ASCIIOutput() function to export the cube data to a text file.

Code: Select all

ASCIIOutput(FileName, Dim1, Dim2, Dim3);
But my output has got the Alias names instead of Element names. I want the output with the actual element names - not the aliases. I know if I change my data source (to element names instead of using aliases in the source view) but I dont want to go on that path.

Is there a function by which I can get the element names? Please advice.
Look for the TI function DimensionElementPrincipalName in the help file / TM1 Reference Manual; that should do what you need.