on 04-28-2017 6:29 AM
Hi Experts,
I need your help to find a solution for my requirement.
I need to filter a datasource based on it dimension. The values that need to be filtered has be extracted from another datasource.
eg: I two data source were I need to filter DS_2 based on the values in DS_1.
Now we need to pass DS_1 Names to DS_2 filter.
After Filter we need to get the DS_2 Names are A,B,C,D,E,F.
Please help me on this. Let me know if I am not clear with requirement.
Thanks!
Regards,
Ramesh Jothimani
Hi,
Edit Initial View 'DS_1'
Drag and drop Dimension "NAME" in filter area .
Right click on "NAME" in filter area Filter Members --> Values with Posted Data .
On "Start Up" write below code .
var Dim1_Values = DS_1.getMembers("NAME", 1000);
DS_2.setFilter("NAME", Dim1_Values);
It worked for my Datasource .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.