Hi,
I am after some manipulations with the Rows.
In my exact situation I do have a BEx "custom hierarchy" on OrgUnits and Employees below.
Now in the script, I want to do this expansion, but find no such command.
Te be completely exact, I would like to go Drilling step by step through the Org Structure till I see the Employees themselves.
Now I am very close to that by using this DS on the graph with this script:
DS_1.setFilter("0ORGUNIT", CHART_1.getSelectedMember("0ORGUNIT").internalKey);
DS_1.expandNode("0ORGUNIT", CHART_1.getSelectedMember("0ORGUNIT"), 1);
It goes nicely through the levels, but it throws an error once I get to the very bottom of the Org Units tree.
My still open options are:
- find the right command for the Rows (not individual dimensions). no success yet
- add an if statement, catching an error and add an Employee. How?
- add an if statement, finding the bottom of a (unbalanced) hierarchy and add an Employee. How?
Any ideas?