Hi Patrick Godwin & Mustafa,
i got error here as well var sample = {"key1": 100, "key2": 200};
Could you try the following code foreach for JSON using crosstab selection, this should work
var sel = CROSSTAB_1.getSelection();
var members = sel["0BC_VEND1__0BC_EVAL"]; //0BC_VEND1__0BC_EVAL dimension tech name
members.forEach(function(element, index) {
APPLICATION.alert(element);
});
Regards,
Subhash