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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Excel SUMIF equivalent.

Me again...

Tearing my hairout at the moment as my 2 short day's training obviously haven't fully equipped me.

What's the QlikView equivalent of Excel SUMIF?

Easy one, I hope!

Thanks.

QlikView for Windows Version 9.00.7646.9 SR6

Labels (1)
5 Replies
its_anandrjs
Champion III
Champion III

Hi,

You can use same as SUMIF of excel in qlikview it will be

SUM( IF(Condition),Value )

Examples:-

1. SUM( If(SomeColumn = 'A' ), Value )

2. SUM( If(SomeColumn >= 15 ), Value )

Rgds

Anand

swuehl
Champion III
Champion III

It's probably an if() function embedded in a sum, something like

=sum(if(FIELD >0 , ANOTHERFIELD))

Hope this helps,

Stefan

Not applicable
Author

Thanks Anand and Stefan,

Unfortunately, I didn't explain my problem correctly... and it would have been better if I had added my query to my ongoing "New User needing an Epiphany" thread... which I will do now.

http://community.qlik.com/thread/38038

Dave

Not applicable
Author

I am trying the following formula in a line graph, but its not working.

sum(if(Product='E'),Amount)

Product is a column and E is its value. I want to see the sum of amount if the Product is E.

swuehl
Champion III
Champion III

Please check your use of parentheses (), I think you should write it like

sum(if(Product='E',Amount))