cancel
Showing results for 
Search instead for 
Did you mean: 

Identify selected values in dimension filter

former_member342346
Participant
0 Kudos

Hi all,

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.

Any ideas?

Thanks,

Hagit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Hagit,

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>");

APPLICATION.alert(arr);

The variable arr would hold the values of all the members that are being filtered.

Hope this helps.

Regards,

Anuraag

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Hagit,

Why don't you assign a common data source to both the Dimension filter and Chart,

If you cannot try adding the Target Data Source from the property sheet of the Dimension filter

Regards,

Fazith Ali Z