Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Operations with Rows/Columns of a DataSource

$
0
0

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.

Expand Rows.jpg

 

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?


Viewing all articles
Browse latest Browse all 4216


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>