DTYPE for hierarchies?
Posted: Mon Dec 14, 2020 5:49 pm
Hi TM1 Community,
Am I the only one who miss DTYPE function for hierarchies? I found no article or APAR or anything about it.
I tried to use it in a process, but it didn't work no matter, if I tried with DTYPE(Dim:Hier, Element) or DTYPE(Dim,Hier:Element). (Syntax error).
The only weapon I left, that I check the ElementIndex in Leaves hierarchy, and if 0, than the element must be C.
But I don't know, how could I check for an attribute if it is an Alias or not, for an attribte exists only in a specific (but not the main) hierarchy.
Do I miss something? Does anyone have a better idea?
Thank you for your insight or suggestions in advance.
(PS: TM1 Build Number: 11.8.00200.24)
Am I the only one who miss DTYPE function for hierarchies? I found no article or APAR or anything about it.
I tried to use it in a process, but it didn't work no matter, if I tried with DTYPE(Dim:Hier, Element) or DTYPE(Dim,Hier:Element). (Syntax error).
The only weapon I left, that I check the ElementIndex in Leaves hierarchy, and if 0, than the element must be C.
But I don't know, how could I check for an attribute if it is an Alias or not, for an attribte exists only in a specific (but not the main) hierarchy.
Do I miss something? Does anyone have a better idea?
Thank you for your insight or suggestions in advance.
(PS: TM1 Build Number: 11.8.00200.24)