Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue in Expression -Qlikview

Hi,

1)Total Members : 100

Expression Used : = (SUM(IF(FLAG_MEM_PERSON_KEY=1 , FLAG_MEM_PERSON_KEY)))

2)Total Members who lost weight :

=(SUM(IF(FLAG_MEM_PERSON_KEY=1 and $(WeighLoss) < 0   , FLAG_MEM_PERSON_KEY)))

So WeighLoss is a variable that has weightloss value for each Userid.

Problem:

For Total Members who lost weight  i should get a value as 1 (because UserID has a negative value which is less than 0.
But unfortunately this is not happening.
Can you please check the attached qvw .

Error.jpg

Labels (1)
11 Replies
Not applicable
Author

Thanks a lot Kaushik

it worked

Not applicable
Author

Yea very true!!

Will surely follow your advice