Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Qlikview Expression Issue

Hi,

I am designing a qlikview application.Where in my select field is "Person_Key".

I will be calculating weight loss for each Person_Key.

Say for eg:For Person_key : 4208009,WeightLoss Expression should be Rnk2(WeightAns) -Rnk1(WeighAns) i,e ;123-123=0.

Can anyone help me with the expression for this,

11-5-2013 6-59-28 AM.jpg

2 Replies
simondachstr
Luminary Alumni
Luminary Alumni

Use set analysis:

Sum({$<RNK={'2'}> WEIGHT_ANS) - Sum({$<RNK={'1'}> WEIGHT_ANS

MayilVahanan

Hi

Try like this

use dimension, person_key and expression like

Sum({<RNK={2}> WEIGHT_ANS) - Sum({<RNK={1}>} WEIGHT_ANS)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.