Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

filtering chart on higher hierarchy node only

$
0
0

Hi,

 

I have a crosstab that is based on hierarchy and when I select a specific line, I want the chart to display data for this line. To achieve this, I simply use this line of code :

 

DS_CHART.setFilter("0MATERIAL", CROSSTAB_2.getSelectedMember("0MATERIAL"));

 

This is working fine as long as I'm displaying the lowest level of the hierarchy.

 

For instance, if my table contains something like

 

Frozen Food

     Vanilla Ice cream

      Chocolate Ice cream

 

When I click on Vanilla ice cream, the chart is displayed with one line for the Vanilla ice cream  data, I'm happy.

When I click on Frozen food, a line is displayed for frozen food but 2 other lines are displayed as well for Vanilla / Chocolate ice cream.

I would like to display ONLY the frozen food line.

 

 

 

Is there a way to do this ?

 

 

Thanks,

 

Dany


Viewing all articles
Browse latest Browse all 4041

Trending Articles



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