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

Count Days Based on Conditions

HI

Please find attached the data .

And the output based on data is as given below.

     

StaffNameAvg Distinct Message per DayNumber of days with Distinct Message  > 500Max Distinct Message procesed in a dayMin Distinct Message procesed in a day
ABC45547151
2 Replies
settu_periasamy
Master III
Master III

Hi Senthil,

Have you tried something?

you can achieve this using the aggregation. 

2.JPG

PFA for reference.

sunny_talwar

Here you go: PFA

Exp1: =Avg(Aggr(Count(Message), Date))

Exp2: =Count(If(Aggr(Count(Message), Date)>500, Date))

Exp3: =Max(Aggr(Count(Message), Date))

Exp4: =Min(Aggr(Count(Message), Date))

Capture.PNG

Best,

Sunny