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

GetData on hierarchy dimension

$
0
0

Hi experts,

 

I'm using a datasource that retrieves data from a simple Bex query with one key figure and two dimensions: month in columns, orgunit (hierarchy) in rows.

The data are correctly displayed in a cross tab.

crosstab.PNG

I need to parse the content of the datasource, for this I retrieve the members of orgunit dimension:

var orgunitsTmp = DS_WLTIAWF.getMembers("0ORGUNIT", 200);

 

The getMembers method returns me the leaves of my hierarchy and I can then retrieve the data using getData:

 

orgunitsTmp.forEach(function(orgunit, index) {

var KF = DS_WLTIAWF.getData("007VOY9I8G6DGIPSM1HKB13IF", {

"0ORGUNIT":orgunit.internalKey,

"0CALMONTH":monthInternalKey

});

 

But this way I retrieve the figures on the leaves, how can I retrieve the agregates (here mean value) on the nodes?

 

Thanks for any idea,

 

Christian


Viewing all articles
Browse latest Browse all 4216

Trending Articles



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