Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
marco_puccetti
Partner - Creator
Partner - Creator

Pivot Table with conditional image

Hello, i need to insert in a pivot table a graphic image that show the trend of two period (if the percentage is >0 upper arrow, if the percentage <0 down arrow).

Can you show me the sintax to use?

Thanks

Marco

4 Replies
sunny_talwar

Have a look at the attached pictureArrow.PNG

I hope this will help.

Best,

Sunny

sunny_talwar

Make sure you use a expression like

If(Percentage > 0, Image1, Image2)

Best,

Sunny

jonathandienst
Partner - Champion III
Partner - Champion III

1. Use something like this for the expression:

=If(percentage > 0, 'qmem://<bundled>/BuiltIn/arrow_n.png', 'qmem://<bundled>/BuiltIn/arrow_s.png')

(replace the condition with correct expression for your application)

2. Set the Representation for the expression to 'Image' and adjust the Image Formattting options to your taste.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jonathandienst
Partner - Champion III
Partner - Champion III

You can also select coloured arrows if you like, eg green for up and red for down. The built in images are available in the expression editor and you can paste the image's text from there.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein