I am attempting to create a listbox extension that will display the values of a dimension sorted by the count of a measure in descending order. I'm using the latest version of Qlik Sense Desktop to develop it. It looks like the 'sort by expression' option should allow me to do this so I followed the Qlik Help documentation (using qSortByExpression and qExpression) but it is not working for me.
When I add the extension to an app in Edit mode and edit the sort settings - I get errors in Chrome Dev Tools as soon as I choose to sort by Expression. If I continue to edit the sort settings and enter an expression to sort by (=Count([Fund ID]) it doesn't save when I click 'Done'. If I click on Edit again the expression box is empty and the errors continue to be displayed in Dev Tools.
The error is: TypeError: Cannot read property 'qExpr' of undefined
In google I can only find Qlik View examples or am redirected to the Qlik Help documentation.
Has anyone got an example of this sort by expression in use in Qlik Sense?