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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
lakhansajwan
Contributor III
Contributor III

which one to use count or sum funtion? and why?

i know sum is preffered over count but why????/

2 Replies
sujeetsingh
Master III
Master III

1,2,3 be values of field COST

then Count(COST)=3

while SUM(COST) =6

So this the difference ..and you can use it as required

Not applicable

count is to know the number of values, so sum is a completely diffrent thing