Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Experts - I have a chart... Am trying to figure out whether we have an option like.. On click of an button, My dimension (which is sorted based on my expression) should change from Asc to Desc and vice versa...
Regards
Bharani
You may use it for the description of the button:
IF ($(vVar), 'Asc', 'Desc')
similar then in the sort-property of the listbox
IF ($(vVar), 'SUM(Sales)', '-SUM(Sales)')
Make sense, I seem to be having hallucinations
Thanks prieper!!
Hi Sunny,
I am trying to achieve this in bar chart, qliksense where I am not able to sort using expression:
So I have passed this condition(If(vVar=1,Sum(Measure),-Sum(Measure))) as measure, but When I am sorting in ascending mode it is showing negative values. See below:
Please Suggest