Qlik Community

Qlik Education Discussions

Discussion Board for collaboration related to Qlik Education.

Not applicable

Dynamic Image

Hi Expert´s,

I need to insert a logo of the company in my layout, but I have varie company, I need that this image to change when I will chose one company. Somebody Can help me?

Thanks in advance!

GA

2 Replies
datanibbler
Esteemed Contributor

Re: Dynamic Image

Hi,

a quick solution, though maybe not the most elegant one: Create one textbox for every company and put their logo inside and then just set some visibility conditions.

HTH

Best regards,

DataNibbler

morris70
Valued Contributor

Re: Dynamic Image

Hi

You could use the Bundle Load Function.

Company:
LOAD * INLINE [
PicName, Company
     CompanyA.jpg, CompanyA
     CompanyB.jpg, CompanyB
     CompanyC.jpg, CompanyC
]
;

CompanyPic:
Bundle LOAD * INLINE [
PicName, Path
     CompanyA.jpg, ..\Pics\CompanyA.jpg
     CompanyB.jpg, ..\Pics\CompanyB.jpg
     CompanyC.jpg, ..\Pics\CompanyC.jpg
]
;

And then a Text Object with an Image representation and following expression.

=If(Company= Company,Info(PicName),'NA')

Community Browser