Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Announcement: Certain actions are currently causing a Page Not Found error. This is a known issue and we are working with the platform vendor to investigate and resolve it.
Not applicable

KPI Object

How to get the KPI object like below

2017 vs 2016

Orders

-27.67%

In three lines I need to get. Which parameter I need to use in the expression to type Orders in the next line, Percentage value in the following line

I tried the below code, doesn't work

$(Var1)  & 'vs' & $(Var2) & chr(10) & 'Orders' & chr(10) &

num((($(vCurrOrders)-$(vPrevOrders))/$(vCurrOrders)),'##0.00%') but I am getting all the three lines next to each other. What I am doing wrong

1 Solution

Accepted Solutions

Re: KPI Object

It seems to be a limitation of KPI Object... look here:

New line character in qlik sense, chr(10) and c... | Qlik Community

12 Replies

Re: KPI Object

Check if Chr(13) works?

Not applicable

Re: KPI Object

Hello Kalyani,

Ever heard about the KPI object?

KPI Object.PNG

Note that it is only one object. So not 7 different text objects.

Should you be interested on how it works. I recommend you to check out QlikVIewModules.com.

,Greetz Hannah

PS: Don't forget to mark answers as helpful or correct

Not applicable

Re: KPI Object

No, Chr(13) doesn't work either.

Not applicable

Re: KPI Object

Hi Hannah,

Thanks for your answer.

But my requirement is as I mentioned

I want to mention two years , next line Orders, Next line value, in the same KPI object. I did it in QV, I am trying to get the same in QS.

2015 vs 2011

Orders

-27.67%

Re: KPI Object

Would it be possible for you to share a sample to look at?

Not applicable

Re: KPI Object

I am getting like below image in QS

I want like this

CarlosAMonroy
Contributor III

Re: KPI Object

Hi Kalyani,

Here is a simple KPI extension for QS.

http://branch.qlik.com/#!/project/5677d80b7f70718900987bff

6-8-2017 11-20-49 AM.png

Hope that helps.

Carlos M

Re: KPI Object

would it be possible to share your qvf file

Not applicable

Re: KPI Object

No, I am using the desktop version