Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
tlamont
New Contributor II

Mashup - Display the value of a Master Measure

I'm hoping this is fairly straight forward, but I'm HTML and Java illiterate, so I'm running into more issues than I would have hoped.  I have a master measure within my Qlik Sense application called 'TtlSales': (=Sum(All Sales)).  I have created a hypercube within my mashup to pull in the master measure, but I'm not sure how to display the result of the measure in the html script.  It's not a table or matrix, just a single value that I'd like to incorporate into a header line.  So in essence, I would like to create something like this:

Html script:

<h1> Total Sales: 'TtlSales' </h1> 


Desired Result:

Total Sales: 1,000

I'm sure I need to address something in the callback and then refer to the function in the html, but I'm not exactly sure how to script that.

My callback function is simply:

function TtlSales(reply, app){}

Any help on what I would need to do to the callback function and/or the html script to get this to display would be greatly appreciated. 

1 Solution

Accepted Solutions
tlamont
New Contributor II

Re: Mashup - Display the value of a Master Measure

Of course I find the right answer after I make this post: 

Re: Callback function for a measure

1 Reply
tlamont
New Contributor II

Re: Mashup - Display the value of a Master Measure

Of course I find the right answer after I make this post: 

Re: Callback function for a measure