Skip to Content
0
Jun 21, 2022 at 03:33 PM

How do i get the members(column values) of a specific measure in an application?

48 Views

I am trying to ge tthe values and check them in the console using console.
This is how the table looks in the app:

image.png

I need to get the values in the test measure comlumn to then check if any of the cells have the value "1".
I inserted this code into the Table_1 - onSelect:

var res1 = Table_1.getDataSource().getResultSet({["Account"]:["42087915-9733-4090-9583-539407984481"]}); 

console.log(res1[20]);
that number is the measur's name.


this is the result.
It seems its giving me the description of the measure but not its internal values.
image.png

Attachments

image.png (27.2 kB)
image.png (59.7 kB)