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

How to use Sum with If

Hi!

I am new at QV!

When I try to do an chart with following expression I get wrong figure. Could somebody help me, what I done wrong?

sum(Sales)                                                  = 100 Correct

sum(if(BuyingFunction = '1',Sales))             = 120 Not correct, should be 80, because we have other BuyingFunction. How can it be mor than 100?

Labels (1)
0 Replies