Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

New Contributor III

Change chart measure via script

I need a way for the user to switch between different measures used a visualisation without changing sheets. For context I'm using the svgReader extension (http://branch.qlik.com/#!/project/56728f52d1e497241ae69868).

If I can change the sort order of the measures or replace the definition of a measure e.g. Sum([Sales]) to Sum([Margin]), this will update the graphic as needed. I have added some buttons to the visualisation however I'm struggling to understand how I can call a function do this.

I've read through much of the documentation available on the Qlik website but no success so far, anyone have any suggestions?