Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Dynamic Filters in case of Hana Datasources in drop-down box

$
0
0

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


Viewing all articles
Browse latest Browse all 4041

Trending Articles