Skip to Content

Identify selected values in dimension filter

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 24, 2014 at 05:09 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2014 at 06:15 AM

    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

    Add comment
    10|10000 characters needed characters exceeded