Hi All,
Is it possible to use dynamic filters in the drop-downs box. We are using Hana calculation view as our data source. As of now we are displaying all the measures in a drop-down box using the below code.
DROPDOWN_1.setItems(DS_2.getMemberList("[Measures]", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 10));
But as the requirement is filter out the content to display only the calculated columns of hana, I have added a setfilter for the same as shown below and tried to uses the setItem as shown below.
DS_2.setFilter("[Measures]", ["AAA","BBB"]);
DROPDOWN_1.setItems(DS_2.getMemberList("[Measures]", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 5));
But it seems the filter is not working for the dropdown box and still it displays all the measures.
But when I uses the same in a Cross-tab that works perfectly fine.
Is it a limitation in design studio, could we achieve it in some other way.
Thanks
Sambit