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?