Hello Experts,
I am working on a dimension filed with a hierarchy assigned. I have set the level of hierarchy in the Edit initial view as level 01.
In edit initial view it is coming just fine, showing the Level 01 object only.
When I am assigning the data source to a cross tab or to any chart, there also it is coming with Level 01 objects only.
But, when I do a getmembers on that dimension, it is only taking the Leaf level objects.
Here is the sample code --
var vlist = DS_2.getMembers("/CPMB/H5DQIMI", 100);
vlist.forEach(function(element, index) {
APPLICATION.alert("External Key - " + element.externalKey + );
}