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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

sumif or countif greater than

Hi Everyone,

I'm just new in Qlik and I'm trying to count the number that is greater than 600s when I add the two dimensions:

num(((sum([Aggr tTalkComplete]))/1000)+(((sum([Aggr tHeld]))/1000))

if the above total is greater than 600, then count as 1 if not 0

this is not working.

sum(IF([

(((((sum([Aggr tTalkComplete])/sum([Aggr nHandle]))/1000) + (sum([Aggr tHeld])/sum([Aggr nHandle])/1000))]  <= 600) ,1,null())

please help.. please please

thanks for those who will answer

1 Solution

Accepted Solutions
agigliotti

in your chart object use the below measure expression:

=sum(

aggr(

If( sum([Aggr tTalkComplete]+[Aggr tHeld])/1000 > 600, 1, 0 )

, your_dim1, your_dim2 )

)

View solution in original post

5 Replies
swuehl
Champion III
Champion III

What are the grouping entities you want to apply the if() condition to, then aggregate the result over all entities?

In other words, describe the context you are using this expression in.

agigliotti

in your chart object use the below measure expression:

=sum(

aggr(

If( sum([Aggr tTalkComplete]+[Aggr tHeld])/1000 > 600, 1, 0 )

, your_dim1, your_dim2 )

)

Anonymous
Not applicable
Author

Hi andrea,

what should I put on "your_dim1 and your_dim2?

Anonymous
Not applicable
Author

I just get it!! super Thanks Andrea!!!

agigliotti

Hi Isabel,

could you please mark "Correct Answer" my reply above if it solved your problem?

Thanks

Andrea