Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

sofiavaz
Contributor

New line in KPI visualization

Hi all,

I'm using a KPI visualization in order to display a date. As there's not enough space, i would like to separate the all phrase in two by creating a new line.

Currently I'm using this expression:

=if(GetFieldSelections(AllocTransfInsDate)>0,

'from' & ' ' & $(vRange),

'Week' & ' ' & $(vCurrentInsDateWeek))

I've already tried something like

=if(GetFieldSelections(AllocTransfInsDate)>0,

'from' & chr(13) & $(vRange),

'Week' & ' ' & $(vCurrentInsDateWeek))

but it didn't worked... Does anyone have an idea to solve this issue?

Thank you!

1 Solution

Accepted Solutions
pablolabbe
Valued Contributor II

Re: New line in KPI visualization

Try to use a Text Box object. There you can handle line breaks, font size and color.

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others

6 Replies
MVP
MVP

Re: New line in KPI visualization

How about Chr(10) instead of Chr(13)?

sofiavaz
Contributor

Re: New line in KPI visualization

It also doesn't work ...

thiago_justen
Valued Contributor III

Re: New line in KPI visualization

I guess, due to the responsive nature of the charts it wouldn't make sense to force a break. Maybe you should try use an extension to get what you want to.


Qlik Branch

Thiago Justen Teixeira Gonçalves
WhatsApp: 24 98152-1675
Skype: justen.thiago
pablolabbe
Valued Contributor II

Re: New line in KPI visualization

Try to use a Text Box object. There you can handle line breaks, font size and color.

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others

sofiavaz
Contributor

Re: New line in KPI visualization

Thank you Pablo

pablolabbe
Valued Contributor II

Re: New line in KPI visualization

Your welcome !