Hello,
I have 2 chart components in my layout.
1. Bar Graph displaying the Number of sales orders created (Rows) and Person created (Columns) coming from a datasource DS1 taken from a BeX Query X. This source contains Created by & Number of sales orders in the initial view.
2. Pie Chart displaying the number of sales orders created for each country coming from DS2 taken from the same BeX Query X. This source contains country & Number of sales orders in the initial view.
Now, during the run time if i select any person from the Bar graph the corresponding country needs to be picked and passed on to Pie Chart Vice versa.
I wrote the following code in the On Select space of Pie chart and it worked.
DS1.setfilter("0country",chart1.getselectedmember("0country").internalkey);
But i'm not sure how to write a similar code in the onselect of bar graph since the selection is going to be created by and i need to pass the country based on the selection.
If i try to add the country in the initial view of DS1 then the graph changes to a different view.
I tried searching through the various materials available. I couldn't find anything explaining similar to this. This video explains having filter on analytic components which passes the same selected member to the second source.
https://www.youtube.com/watch?v=jKqPc-WJAxw&feature=youtu.be
Kindly help on this
Regards,
Sathyan P