Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

How to populate dropdown box from the output of BEX Query or data source

$
0
0

Hi Experts,

 

I created Design Studio dashboard on top of BEX Query. I would like to populate the Business Group names into drop down box where head count is greater than 0. Currently all the Business Groups are populated into drop down box.

 

In the Bex query the rows are suppressed where HC CY is 0.

 

Please find the below screen shot of initial view of data source in Design Studio.

 

 

BEX Query Output.PNG

 

I have selected "Only values with posted data" for member filter for the attribute Business Group.

 

I have used the below code to populate dropdown box but it populated all the Business Group members.

 

DROPDOWN_BGRP.setItems(DS_3.getMemberList("BW_BUSGRP",MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 100, "All"));


I would like to populate only Business Groups which are in above screen shot (Business Groups which has employees). This list would be dynamnic, so I cannot hardcode the values for drop down box.


Is there anyway to populate the members only from the data source output (output in Edit initial View)? 


I have searched SCN for this requirement but did not get any information.  Thanks for your help.


Thanks,

Satyam




 







Viewing all articles
Browse latest Browse all 4216

Trending Articles