on 12-06-2019 2:27 PM
Hello Gurus,
I am faced with the difficulty of populating the dropdown box of an analytical application on initialisation of the application. I am able to get the members of the Country dimension into the dropdown box on initialisation. It however populates all the master data country members in the country info object in the dropdownbox. I do not need all the country members but only the country members available in the model. I have attached my script for more understanding of the problem.
Script
//Populate Dropdown with Country Dimension
var i=0; var Dimension =Chart_2.getDataSource().getMembers("ZCNTY_SH");
for (i=0;i< Dimension.length; i++) { Dropdown_1.addItem(Dimension[i].id,Dimension[i].description);
}
Can someone be of help to me on this?. I get all the masterdata information from the backend into the dropdown on initialization.
Hi Bright,
Which data source are you using? Maybe you should read the dimension members from your fact table?
Kind regards,
Martijn van Foeken | Interdobs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.