Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

getdata() for dimensions

$
0
0

Hi,

 

i have a req to popultate a text box with a KPI/measure value.i created a data source on a hana view retrieved the 2 dimensions and 4 measures. to populate tthe text box with measure 1, i used getdata(measure1,dim:A).formattedvalue; but one of the dimension changees dynamically. i need to capture that and show along with this measure. how do i extract that one cell of dimension?

 

my data is as below

 

D1 D2 M1 M2

X  A  4     30

X  B  40   433

X  C  400  332

 

i can show 4,40,400 using DSX.getData("M1", {"D1":"X"}).formattedValue;

 

how do i retrieve the D2 for each M1

 

thanks,

karthik


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>