Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
tlamont
Partner Ambassador Affiliate
Partner Ambassador Affiliate

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
Partner Ambassador Affiliate
Partner Ambassador Affiliate
Author

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

Re: Callback function for a measure

View solution in original post

1 Reply
tlamont
Partner Ambassador Affiliate
Partner Ambassador Affiliate
Author

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

Re: Callback function for a measure