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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

conditional expression in print options

print.jpg

hello,

is it possible to insert conditional expression into the print options ? for example , in the header left section i want to insert conditional expression based on account name.

for example

if Account1 is selected --> then print LogoAccount1.jpeg

if Account2 is selected --> then print LogoAccount2.jpeg

etc.

if possible, which is the sintax?

thank you very much

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello Daniele ! How are You ?

Did You insert a 'if' ?

Something Like :

= if ( getselectedfield (account) = "Account1", [Picture = Logoaccount2.jpeg])

And insert other if to others conditions.

Can You test this?

Morandi

View solution in original post

4 Replies
Not applicable
Author

Anybody haven't got any ideas ?

many thanks

Anonymous
Not applicable
Author

Hello Daniele ! How are You ?

Did You insert a 'if' ?

Something Like :

= if ( getselectedfield (account) = "Account1", [Picture = Logoaccount2.jpeg])

And insert other if to others conditions.

Can You test this?

Morandi

Not applicable
Author

Hi Morandi, very well, you had been very helpful!  I used the same formula as you wrote with getfieldselection() .

It is all ok, it was  what i expected.

Thank you very much!!

Daniele

Anonymous
Not applicable
Author

Danielle,

I am very happy to help!

Regards,

Morandi