Page 1 of 1

Another Bug when Copying Attributes between Hierarchies???

Posted: Fri Jul 10, 2020 7:06 am
by macsir
Hi, all
I am trying to replicate hierarchies within one dimension. Process runs fine with everything replicated successfully but just with one unidentified issue for attributes(alias). With everything replicated from another hierarchy into default hierarchy, the Perspectives can't find the alias (ID including other alias) anyway although I can see it and select properly. But the principal name works fine. See the picture.
And also, TM1py also can't find this leaf element using alias.
Everything goes back to normal after rebooting without changing anything when the issue is on.
Is it a bug?

Re: Another Bug when Copying Attributes between Hierarchies???

Posted: Fri Jul 10, 2020 7:35 am
by macsir
The DIMIX and ELEMENTINDEX functions both can't find the element. (always returns 0) But they work fine in the source hierarchy.

Re: Another Bug when Copying Attributes between Hierarchies???

Posted: Sun Jul 12, 2020 11:59 pm
by macsir
Hi, all
Looks like I have to run HIERARCHYUPDATEDIRECT function explicitly by the end of copying hierarchies to fix the issue. All good now. I have to admit I never use DIMENSIONUPDATEDIRECT function in the past. Probably I should follow the best practice to reduce the footprint in RAM. :D