Rule Issue - Element Name from Alias
Posted: Mon Oct 12, 2020 2:00 pm
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
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