Identify selected values in dimension filter
I have a dimension filter on screen based on DS1 and a chart based on DS2.
I need to filter DS2 according to values selected in the dimension filter.
I used DS1,getFilterExt but I noticed that DS2 was not filtered correctly, so I guess that the reason is that I only get one value when using the getFilter.
Therefor, I was trying to look for a way of getting all values selected in the dimension filter and save it to an array, then I can use the array to filter DS2.
Could you please explain why you think the Dimension Filter is not filtering the values right? Have you set the Data Source and Target Data Sources right?
If you wish to view what values are being filtered, use the following script in the Dimension Filter:
var arr=DS_1.getFilterExt("<Dimension name>");
The variable arr would hold the values of all the members that are being filtered.
Hope this helps.