Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

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

Tags (2)
5 Replies
vikasmahajan
Honored Contributor III

Re: Text and image in same cell

PFA sample

Vikas

ashwanin
Valued Contributor

Re: Text and image in same cell

Put the below in expression

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

Not applicable

Re: Text and image in same cell

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

Re: Text and image in same cell

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
New Contributor III

Re: Text and image in same cell

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

Community Browser