Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Showing a value and a symbol in the same cell

Hello everyone,
Could you please help me to "show a value and a symbol in the same cell" similiar as below;

Showing_SymbolAndData_inTheSameCell.PNG

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

In Script just Inline Load..

LOAD * INLINE [

     Check, Data1, Data2

    A, 6, 9

    B, 11, 15

    C, 10, 15

    D, 4, 18

    E, 8, 6

];

Straight Table:

Dimension : Check

Expression :    =if(sum(Data1)>=10,'▲ '&sum(Data1),'▼ '&sum(Data1))

Text Color :     =if(sum(Data1)>=10,Green(),Red())

Capture.JPG

Capture1.JPG

View solution in original post

5 Replies
settu_periasamy
Master III
Master III

Hi,

If you want just a symbol to add with your data, you can try like this..

=if(sum(Data1)>=10,'▲ '&sum(Data1),'▼ '&sum(Data1))

Capture.JPG

jonathandienst
Partner - Champion III
Partner - Champion III

A cell can either display a text or an image, not both -- the representation applies to the whole cell. You could modify the table style to exclude the vertical lines between cells (Properties | Style), or you can use graphical characters like the previous post.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jonathandienst
Partner - Champion III
Partner - Champion III

t1.png

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Thank you so much for answering, but I can not open the file that you send.
Could you please send me the code, you wrote in the edit scipt?

settu_periasamy
Master III
Master III

In Script just Inline Load..

LOAD * INLINE [

     Check, Data1, Data2

    A, 6, 9

    B, 11, 15

    C, 10, 15

    D, 4, 18

    E, 8, 6

];

Straight Table:

Dimension : Check

Expression :    =if(sum(Data1)>=10,'▲ '&sum(Data1),'▼ '&sum(Data1))

Text Color :     =if(sum(Data1)>=10,Green(),Red())

Capture.JPG

Capture1.JPG