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

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
Champion
Champion

PFA sample

Vikas

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