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: 
xarapre7
Creator II
Creator II

12-Mo Rolling Avg in min & sec

Hello All!

I need help in getting the rolling 12-month Avg for the Avg Speed of Answer (ASA) in minutes & seconds (eg, 4:25). 

And how to get the previous month's data?  Can you please help?

Variable to get the actual ASA:

vActualASA = Minute((((Sum({<CALLS.CALLS_ANSWERED={'>0'}>}CALLS.WAIT_TIME)/Sum(CALLS.CALLS_ANSWERED))/60)/24)/60) & ':' & Num(Second((((Sum({<CALLS.CALLS_ANSWERED={'>0'}>} CALLS.WAIT_TIME)/Sum(CALLS.CALLS_ANSWERED))/60)/24)/60),'00')

Code for 12-month Avg

=sum({<[DAY_MASTER.FULL_DATE]={">=$(=MonthStart(Now(),-1))<=$(=MonthEnd(Now(),-12))"},DAY_MASTER.YEAR=,DAY_MASTER.MONTH=,DAY_MASTER.QUARTER=>}vActualASA)

Thanks in advance!

xarapre7

2 Replies
Qrishna
Master
Master

can you provide us with some sample data or demo doc

just like

Rolling Weekly Total

xarapre7
Creator II
Creator II
Author

Hi Krishna!

Thank you for replying to my inquiry.

Anyway, here’s a sample data for your reference. But this shows in decimal. I need it converted to time in terms of minutes and seconds.

MM-YYYY

Overall - ASA

12-Mo rolling Avg

01-2014

5.43

02-2014

5.25

03-2014

5.02

04-2014

2.43

05-2014

2.59

06-2014

3.37

07-2014

2.51

08-2014

3.03

09-2014

3.42

10-2014

2.39

11-2014

2.54

12-2014

2.29

01-2015

3.06

3.36

02-2015

4.41

3.16

03-2015

7.10

3.09

04-2015

6.04

3.26

05-2015

4.52

3.56

06-2015

5.09

3.72

07-2015

3.33

3.87

08-2015

2.47

3.94

09-2015

2.43

3.89

10-2015

3.24

3.81

Thank you in advance.