Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text and image in same cell

Hi,

In a pivot table, are you able to have both text and image in one expression. Specifically, I'm looking to get a text value (1,110) and an indicator (red, green or amber indicator) next to the text based on a condition. It has to be in the same expression - I know I can do this in 2 expressions. I know I could simply format the text / background of the cell too, but I'm looking for an indicator solution.

Thanks

Adam

5 Replies
vikasmahajan

PFA sample

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
ashwanin
Specialist
Specialist

Put the below in expression

=If(Sum(Sales)>3000, 'qmem://Image Name/Green Square', 'qmem://Image Name/Red Circle')

Not applicable
Author

Thanks Vikas, I hadn't thought of using text characters as an indicator. Using it in the number format expression is tidy too!

Not applicable
Author

Hi Ashwani,

What should be the outcome of this? I've used expressions like this before for conditional images but I need text visible in the cell as well.

Thanks

Adam

dmitry909
Contributor III
Contributor III

Hi Adam! I have the same problem. It's seems we have no any solutions to display text and image in one cell, because each cell may have only one representation format (img or text), but we can try to do this with some extensions.

Check this: Re: Image and text (alignment, format, colour) on Chart