on 05-20-2019 6:16 PM
Hello Experts,
I have a problem with scripting filters for 2 dimensions on a single data source.
If I use the following code:
DS_1.setFilter("First Dimension", "2019");
DS_2.setFilter("Second Dimension", "Product A");
The data source is filter only on the Second Dimension.
The First Dimension shows me all members insted of just "2019" (of course only those which happen to have values for "Product A" on the dimension "Second Dimension").
Is there any other way to perform what I'm looking for?
Hi Michael,
Thank you for your observation. Indeed I made a typo. It should have been the same Data Source in the original post (I don't know how to edit it now though)
DS_1.setFilter("First Dimension", "2019");
DS_2.setFilter("Second Dimension", "Product A");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mateusz
Were you able to solve this issue? Were you able to set two filter dimensions in one Datasource?
Hi
Not sure if you made a typing mistake in your post but you have 2 Datasources not 1.
DS_1.setFilter("First Dimension", "2019");
DS_2.setFilter("Second Dimension", "Product A");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.