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: 
Not applicable

Image and text into one object

hello,

I need to show some text which represents user name logged in the system and some image which belongs to this user

This image should be aligned as following

B1.png

but in some cases Name can be longer but image still should be aligned to left

B2.png

Can anyone help with this?

Thanks in advance

3 Replies
Not applicable
Author

See if this is what you have in mind. Obviously if it is based on user, it will only have one image for OSUser(), but to give you an example, I linked the images to SalesRepName.

Not applicable
Author

Thanks for reply Rebecca, appreciate your help

Your example is helpful but this is not exactly what I need

Please have a look at next examples

National.PNG

Region.PNG

The first text and image should be shown when main manager login to the system

Second case is for some regional manager

As you can see text legth is different in both cases

My requirement is to show image right after text

I do not have issues with showing some text based on who is accessing system or correct image for this person. Issue is how to place image right after text

Thanks

Volo

flipside
Partner - Specialist II
Partner - Specialist II

Hi Volo,

You have a number of options, but to do EXACTLY what you want might be tricky.

Option 1:  Add the text to the image for all combinations and align left - obviously not ideal if lots of images required.

Option 2:  Use a straight table chart with the text as the dimension and an image as the expression, then align the text right. The image location is fixed though.

Option 3: As option 2 but place the image expression before the text dimension and alight the text left.

Option 4: As option 2 but align the text left & use a macro to estimate the width of the column and trigger it to run.

Hope this helps

flipside