Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
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

View solution in original post

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