Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
fmazzarelli
Partner - Creator III
Partner - Creator III

target

Hi Community,

I created a pivot table .

One of the columns ( measure) is the goal to be achieved with a formula obtained .

The target is relative to values ​​< 1 or> = 1 .

I used the color to show it but I'd replace the value ( in the picture indicated by the black arrow ) with an image.

Is it possible?


Immagine.png


14 Replies
JaMajka1
Partner Ambassador
Partner Ambassador

Hi Fabio,

I would like to help you but actually I do not understand what is the problem. Could you please write again in different way what is the final visualization you want to have?

Regards,

Maria

fmazzarelli
Partner - Creator III
Partner - Creator III
Author

Hi,


I would like to replace the value with an image


for istance:


Target


1,003   


0,083  



vinieme12
Champion III
Champion III

create two text boxes one with a happy smiley as background and other with sad.

PLace them on top of each other

Go to Layout >> Show >>  Select conditional

     and put your expression for happy smiley textbox as = if(Target >=1,1,0)

     put your expression for sadsmiley textbox as = if(Target <1,1,0)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
fmazzarelli
Partner - Creator III
Partner - Creator III
Author

Hi

thanks for the reply but I need to place the icon in a pivot table and replacing the red value ( example attached

Immagine.png

vinieme12
Champion III
Champion III

ok, 

Add below expression after your Target expression

if([Target]>=1  , 'fullpath\happysmiley.png', 'fullpath\sadsmiley.png')

And change expression representation to Image

NOTE:  You cannot have both image an value in a single cell

imageinchart.JPG

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable

vinieme12

This is in Qlik sense . But your screen shot shows qlikview. Can we do this in qlik sense

fmazzarelli
Partner - Creator III
Partner - Creator III
Author

I confirm . Use Qlik Sense

vinieme12
Champion III
Champion III

oops didn't see Qliksense

let me try with an extension, as this is not inbuilt with qliksense

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable

no problem. I am trying to use your logic in a sample app. But attached are the sample smileys in case if you don't have them.