Skip to Content
0
Oct 22, 2013 at 10:09 AM

Filtering KPI dashboard from dropdown selection

105 Views

I have created a dashboard for KPI reporting but when I filter using the dropdown for "REGION' then my highlevel dashboard doesn't change. How do I get this to change. I do see the regions when I use the dropdown box

below is my global script

//select region


DROPDOWN_1.setItems(DS_1.getMemberList(

"0COMP_CODE__ZREGION", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT_KEY, 6));


// Free Text


var

vFree_text = DS_10.getDataAsString("006EI2S44O5IQ9MSJ4A20CCQB",{});


TEXT_24.setText(vFree_text);

My second issue is that I want to compare the difference between the actuals and targets and then change the robot. My targets are a global variable using float and my actuals come from the Datasource which I then assign to the text fields. How can I compare to check if my actuals are less or greater than my targets. Text_24 is my actuals below and TEXT_37 is the target

var

vFree_text = DS_10.getDataAsString("006EI2S44O5IQ9MSJ4A20CCQB",{});


TEXT_24.setText(vFree_text); // this is my actuals


TEXT_37.setText(Convert.floatToString(var_FreeText,

"00")); // this is my target

Attachments