Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 845

Get a dimension value from a datasource

$
0
0

I am trying to get a dimension value based on a current value of the dropdown box. I am populating the dropdown box and I need to find the value of the dimension based on what is picked. Please see my screen print to see what I mean.

 

I have tried researching this and I was able to find the GetText function. it is not working the way I expected it to. In the Datasource screenprint, There are blanks in the IND field. I tried removing them using the Bex query (Datasource 2). It still did not work. Please take a look. I am missing something.

 

var SRKey1 = me.getSelectedValue();

DS_4.setFilterExt("ZIASRKEY", SRKey1);

 

var FSRMET = DS_4.getFilterText("ZIAFSRMID");

TEXT_8.setText(FSRMET);

 

I am getting the selected value from the dropdown box. Then I set the datasource to look at that SRKEY. I then need to determine what the IND field is.

The above code is not working. Please help!


Viewing all articles
Browse latest Browse all 845

Trending Articles