Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
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
12 Replies
sunny_talwar

Check if Chr(13) works?

Not applicable
Author

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
Author

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

Not applicable
Author

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%

sunny_talwar

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

Not applicable
Author

I am getting like below image in QS

I want like this

CarlosAMonroy
Creator III
Creator III

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

sunny_talwar

would it be possible to share your qvf file

Not applicable
Author

No, I am using the desktop version