Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

variables in Qliksense

vCurrOrders=Sum{{<Year={$(=max(Year))}>}distict OrderID)

vPrevOrders=Sum{{<Year={$(=max(Year)-1)}>}distict OrderID)

KPI expression:

num((($(vCurrOrders)-$(vPrevOrders))/$(vCurrOrders)),'##0.0%') is not working,

It worked in Qlikview with = sign before num, but it is not working in QS. I don't know why.

Please help me

1 Solution

Accepted Solutions
sunny_talwar

You either mark your response as correct or mark the thread as assumed answer. This is how you close a thread

View solution in original post

8 Replies
sunny_talwar

Does your variable definitions include = sign before the expression or not?

Not applicable
Author

When I copied and pasted from QV app, it is not working, when I typed the same code manually, it worked

Thankyou

sunny_talwar

Great, please close this thread if your problem is resolved.

Best,

Sunny

Not applicable
Author

How to close the thread sunny

Not applicable
Author

I don't find anything to close the thread in the link you sent

sunny_talwar

You either mark your response as correct or mark the thread as assumed answer. This is how you close a thread

Not applicable
Author

Oh, Ok Thankyou