Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
krivozhnya
Contributor II
Contributor II

count number of occurences

Hi, hope someone can point in the right direction.

I've a chart/table like so:

accountID email

123     a@gmail.com

234 a@gmail.com

345 b@gmail.com

I need to display # of times each email is repeated, i.e.

accountID email #repeates

123 a@gmail.com 2

234  a@gmail.com 2

345 b@gmail.com 1

in Excel I'd use something like countif (B:B,b2) and drag across rows 2/3/4.

In qlik, I've tried count with aggr but can't get it to work.

Thank you,

Labels (1)
1 Solution

Accepted Solutions
Kushal_Chawda

@krivozhnya  with dimension Account & Email you can use below expression

=count(total <email>email)

Screenshot 2020-09-12 220826.png

View solution in original post

2 Replies
Kushal_Chawda

@krivozhnya  with dimension Account & Email you can use below expression

=count(total <email>email)

Screenshot 2020-09-12 220826.png

krivozhnya
Contributor II
Contributor II
Author

Perfect, you're a wizard, sir!