In this example the checkbox group is populated with members of the ‘Sales Manager’ dimension from the sample Best Run Juice model.
This article shows how to populate a checkbox group with alphanumerically sorted dimension members
Populating checkbox groups article
The Script below is placed in the onSelect event of the Check Box Group
var KEYS = this.getSelectedKeys();
Chart_1. getDataSource().removeDimensionFilter("Sales_Manager”)
Chart_1.getDataSource().setDimensionFilter("Sales_Manager",KEYS);
Code language: JavaScript (javascript)
