Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
jaimegc314
Contributor III
Contributor III

How to display differents flags in the same object.

Hey!

I want to do a object which contains three country flags in the same text object.

I have the flags images in a folder of my project.

Regards

1 Solution

Accepted Solutions
Not applicable

Hi Jaime,

If you have the images it's very easy! Inside an object (for example, a text object) you have to control what lenguage you are using (with a variable "Lenguage"). Create a variable in the script like this one:

set vDataLanguage= '=Lenguage';

For those lenguages associate the URL where the flag is saved.

=if(Lenguage='Lenguage1', './flag1.jpg',

  if(Lenguage='Lenguage2','./flag2.png',

  './flag3.png'))

Hope this can help you!

View solution in original post

5 Replies
MK9885
Master II
Master II

Bundled Images:

check the below link

Load images into Script

Not applicable

Hi Jaime,

If you have the images it's very easy! Inside an object (for example, a text object) you have to control what lenguage you are using (with a variable "Lenguage"). Create a variable in the script like this one:

set vDataLanguage= '=Lenguage';

For those lenguages associate the URL where the flag is saved.

=if(Lenguage='Lenguage1', './flag1.jpg',

  if(Lenguage='Lenguage2','./flag2.png',

  './flag3.png'))

Hope this can help you!

View solution in original post

jaimegc314
Contributor III
Contributor III
Author

Thank u!

Not applicable

We are here to help!

jaimegc314
Contributor III
Contributor III
Author