Hi there
I am trying to get the element name from an alias.
The rule is in the attribute cube for my Calendar dimension:
['Next'] = s:
DimNm('Calendar',
DimIx(DB('}ElementAttributes_Calendar',!Calendar,'IdxNext'))
);
I get an error of "unexpected parenthases"
The dimension has an Idx Alias, and the "IdxNext" attribute gives the Idx of the next element.
I am trying to get the name of the next element based on the Idx alias.
Any idea why this is giving issues?
Many thx
Chris
Rule Issue - Element Name from Alias
-
- Community Contributor
- Posts: 286
- Joined: Fri Feb 15, 2013 5:49 pm
- OLAP Product: TM1
- Version: PA 2.0.9.1
- Excel Version: 365
- Location: Minneapolis, USA
Re: Rule Issue - Element Name from Alias
DIMIX takes 2 arguments: dimension, element.
Code: Select all
['Next'] = s:
DimNm('Calendar',
DimIx('Calendar', DB('}ElementAttributes_Calendar',!Calendar,'IdxNext'))
);