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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to pass calculations as selection in selection API

I have some button functionality I'm trying to recreate in a mashup.

I can do a select match on year values...

<button type="button" class="btn btn-primary btn-lg btn-block" id = prior3>

Prior 3 Years

</button>

With the JQuery

$("#prior3").click(function() {

app.field("[Service Year]").selectMatch('>2016', false);

});

How would I pass a calculation to the engine, i.e Max(Year), > today()-90....etc

0 Replies