Skip to Content

Dynamic Filter Datasource

Hi All,

Have an scenario,

Once we select Country from Dimension filter then ListBox also has to filter for same selected country.

Tried and searched forum and got this below code which is not working:

LISTBOX_1.setItems(DS_1.getMemberList("YCoun", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 50)); 

In the above code, assume that:

    * DS_1 is the data source used for the Cascading Dimension filter which has country field and DS_2 is the data source for List Box which also has country field

    * LISTBOX_1 displays the list of countries

Any Pointers what iam missing in the above code. Is there any other way to achieve this to get to work?

Thanks,

- Dinya.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 01, 2015 at 04:46 PM

    Hello Dinya,

    why would the listbox have to be filtered as well ?

    The listbox contains the list of countries and after you select the country in the listbox then you most likely want to filter a data source.

    I would really suggest - based on the kind of questions you ask here in the forum - that you take a look at the product documentation to cover the basics of Design Studio.

    regards

    Ingo Hilgefort

    Add comment
    10|10000 characters needed characters exceeded