on 06-27-2014 4:24 AM
Dear Experts,
We are using DS 1.3.
As following, In our application there is One dimension filter , One Cross Table and 2 List boxes. My requirement is values of cross tab and list boxes has to updated based on Dimension filter.
In Filter On Apply coding is as follows :
Result :
-->Cross Tab is correctly filtering as expected only for AU.
-->Country List is not updating for filtered country. It is showing all values instead of showing only AU
--> RBU list is correctly filtering as expected only for 0
Observation:
Characteristic which is being used for Dimension Filter is not updating under List control. Other than this char ( In our example Country) rest all correctly picking the list from Data source filtered list.
In data source, all chars Only values with posted data selected under Members for filtering
Is any one facing similar issue or are we missing some thing?
Thanks in advance.
Regards,
Raju
Hi VaraPrasadraju,
What you are facing is a known issue in Design Studio. While a filter is applied on the list of countries, a 'getMemberList()' function will still get all the members for the mentioned dimension regardless of the filter you have set. The RBU list, however, will reflect the filter set on the country because it is dependent on that country - i.e. each RBU value would be associated with a country, and thus only the RBU value for the country selected is retrieved.
Thanks and Regards,
Eshwar Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raju,
There does seem to be a workaround to this (Assuming you have worked on a BEx query):
APPLICATION.setVariableValueExt("<technical name of variable in new query>", DS_3.getFilterExt("<technical name of country dimension>"));
LISTBOX_1.setItems(DS_1.getMemberList("<technical name of country dimension>", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 50));
LISTBOX_2.setItems(DS_1.getMemberList("<technical name of RBU dimension>", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 50));
//Set listbox items once again to account for delay in setting variable value and fetching results
LISTBOX_1.setItems(DS_1.getMemberList("<technical name of country dimension>", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 50));
LISTBOX_2.setItems(DS_1.getMemberList("<technical name of RBU dimension>", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 50));
In the above code, assume that:
I hope this helps!
Thanks and Regards,
Eshwar Prasanna
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.