Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sort on column which contains images

See below example of the pivot table. I wan't to sort on column 'Movement'. When I click on the red arrow of year '2012', crop 'Tomato' I want to see only the records of Tomato and Corn Salad. How do I realise this? Ditto for the other arrows or '-'.

Year 2012Year 2013 (ditto 2012)
CropForecast Year To DateInvoicedTo goRealised%MovementCropForecast YTD, ditto..
Tomato1.50001.5000%   2013-02-15_135359.png
Cumumber2.0002.0000100%2013-02-15_135650.png
Onion9001.400- 500155%2013-02-15_135441.png
Spinach0300---
Corn Salad1.6002001.40012,5 %2013-02-15_135359.png

Content of properties column 'Movement', tab Expressions, Definition:

If(Realised% = '-', '-',
If(Realised% < 0.95,'qmem://<bundled>/BuiltIn/arrow_s_r.png',
If(Realised% < 1.00,'qmem://<bundled>/BuiltIn/arrow_e.png',

If(Realised% = 1.00,'qmem://<bundled>/BuiltIn/arrow_ne_y.png',
'qmem://<bundled>/BuiltIn/arrow_n_g.png')))) 

(Grey arrow not shown as example in the table)

2 Replies
Not applicable
Author

Hi,

I would say you need "Movement" to be a Dimension if you want to achieve this...

Alternatively, you could also create buttons with the logos out of the chart that selects the right %Realised data somehow.

Not applicable
Author

Thanks for your quick reply. Field 'Movement' as a dimension doesn't solve my problem. I'm trying to make buttons for the sorting, but It looks like this only works with dimension fields. Is this right of are there other possiblities?