Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
srada2609
Partner - Contributor
Partner - Contributor

Get measure value from API

I need to get a measure of QlikSense from the API to use its value in a mashup. I've seen several examples of similar things with hypercubes but I haven't been able to get the value of a measure using the API. Is this possible? Thanks!!!

Labels (3)
2 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

If you are using the Capability API, you can get measures with app.GetList().  If using the Engine API, it's GetMeasure().  Do you have an id and want to get Measure contents or are you trying to get a Measure by name?  Can you describe how you want to use this measure in the mashup?

-Rob

srada2609
Partner - Contributor
Partner - Contributor
Author

I can't find the GetMeasure() method in the documentation. 

I want to paint the measurement value in the mashup, imitating a QlikSense KPI chart.

2019_02_17_14_56_16_test_sara_1_Mi_nueva_hoja_Hojas_Qlik_Sense.png

I want to get the measure value "total_baths" (1,75) and show it in the mashup.

Thank you so much!!!