Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get count and Sum of freq in Text boxs

Hi All,

I have to calculate the count of country names having frequency >=3 and sum of frequency .I am attaching sample data as shown in sheet 1. i did manual calculation in sheet 2.

Could you please help me in solving the prob .

Thanks,

Rahul

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Use Below in TEXT BOX at UI end

=SUM(IF(AGGR(COUNT([Country Name]),[Country Name])>=3,1,0))

and

=SUM(IF(AGGR(COUNT([Country Name]),[Country Name])>=3,Aggr(COUNT([Country Name]),[Country Name]),0))

View solution in original post

2 Replies
MK_QSL
MVP
MVP

Use Below in TEXT BOX at UI end

=SUM(IF(AGGR(COUNT([Country Name]),[Country Name])>=3,1,0))

and

=SUM(IF(AGGR(COUNT([Country Name]),[Country Name])>=3,Aggr(COUNT([Country Name]),[Country Name]),0))

Not applicable
Author

Thanks Manish