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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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