I’ve been playing around with the adhoc analysis template now and two questions has come up.
- In order to take full advantage of the scaling and decimals. Is there any way you can script the key figure members by the UID of the key figures in the query? I’ve tried to extend the existing script from the scaling radio button with something like this:
var keyfiguresUID = DS_1.get??;
var keyfigures = DS_1.getMembers(keyfiguresUID, 100);
keyfigures.forEach(function(element, index) {
DS_1.setDecimalPlaces(element.internalKey, Convert.stringToInt(RADIO_BUTTON_GROUP_DECIAMLS.getSelectedValue()));
});
g_table_mode = "NONE";
BUTTON_INIT_BUTTONS.onClick();
Reason is that our key figures in queries don’t have a technical name and therefore is represented by the UID instead. - When using the URL functionality with XNAV=X, set and reset initial view disappears.