Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

Text and Arrow in One Column for Straight Table

Hello,

Is there a way to concatenate text and an arrow in a single column for a straight table?? or do you need to make them as two different columns?

As far as i can tell, the 'Representation' part of the 'Display Options' enables only with or

Thank you for your input.

4 Replies
sundarakumar
Valued Contributor II

Re: Text and Arrow in One Column for Straight Table

I guess u should go for 2 col..

Employee
Employee

Re: Text and Arrow in One Column for Straight Table

if you need 2 expresions with the same formula, consider turning the formula into a variable . That way you can control the formula in one place and not have it duplicated for any future maintenance.

konstantin
Contributor III

Re: Text and Arrow in One Column for Straight Table

If(([Invoice Amount YTD]-[Invoice Amount Previous YTD])/[Invoice Amount YTD] < 0,

     Num(([Invoice Amount YTD]-[Invoice Amount Previous YTD])/[Invoice Amount YTD],'#,##0.00%') & ' ▼',

Num(([Invoice Amount YTD]-[Invoice Amount Previous YTD])/[Invoice Amount YTD],'#,##0.00%'))

and font color for the value:

if(Column("column number in chart") < 0,RGB(255,0,0)) // will be in red

sundarakumar
Valued Contributor II

Re: Text and Arrow in One Column for Straight Table

u could use CHR(9650) for up arrow and CHR(9660) for down arrow. but i would recommend 2 different columns. since that will perform better when compared to a complicated if statement.

-Sundar

Community Browser