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.
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