You can do it, but the filter panel or the navigation area is here to take care of it.
OnStartup:
var arrayDims = DS_1.getDimensions();
arrayDims.forEach(function(element, index) {
if (!element.isMeasuresDimension) {
LISTBOX_1.addItem(element.name, element.name);
}
});
Initial View:
See, only 0D_NW_BP and some measures are used.
Application and the Dropdown contains all of the available dimensions: