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

how to know selected measure's name from a chart in design studio 1.6?

$
0
0

I need some help for a quite unique requirement. I have done some SAP Search for my requirement and I ended up with this Design Studio 1.1: Pass URL parameters between applications and Design Studio 1.4: Create an RRI Jump Target

 

But my requirement is bit different at least what I read is I need to find out what measure I am selecting. I have HANA calculation views as my data source

chart1.png

This chart has been generated from data source DS_1. I have some other data source too say DS_2, DS_3 and DS_4.

 

Now my requirement is if I click on blue bar (received) then the chart must load with DS_2 and if I click on orange bar (Consume) then the chart must load with DS_3 and for closing stock DS_4.

 

My imaginary scripting ...

 

if(DS_1.getSelectedMeasure == "Received")

{

chart_1.setDataSource(DS_2);

}

else {

if(DS_1.getSelectedMeasure == "Consumed")

{

chart_1.setDataSource(DS_3);

}

else{

chart_1.setDataSource(DS_4);

}

}

 

I need help to achieve this.

 

If the way I am trying to achieve this functionality is not feasible  then please suggest me some work around.

 

 

Thanks


Viewing all articles
Browse latest Browse all 4041

Trending Articles