Hi Bogdan Popescu
Thanks for replying. My hope of using only one data source was almost dead. It was very much embarrassing to duplicate my data sources to feed different components every time.
I tried your points and ended up as follows...
I have only one data source here and the initial view is something like this....
This is the coding for Customer --
DS_1.moveDimensionToRows("Customer",0); CHART_1.setDataSource(DS_1); CHART_1.setDataSelection({ "Customer": ["0000000002", "0000000001", "0000000003" , "0000000011"]});
This is the coding for Vendor--
DS_1.moveDimensionToRows("Vendor",0); CHART_1.setDataSource(DS_1); CHART_1.setDataSelection({ "Vendor": ["0000100006", "0000100032", "0000100033" , "0000100006"]});
This scenario can fulfill my requirement only if I know my result set. Now my question is
1. What if I need to show all members of the dimension customer or vendor ?