Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
guillaume_gorli
Creator II
Creator II

Average leadtime between two max date

Hello everyone,

I am working with a database listing ID Ticket, Category of ticket, Working Date and Closing Date as below : 

ID TicketCategorieWorking DateDate
1A01-janv11-janv
1A02-janv11-janv
1A03-janv11-janv
1A03-janv11-janv
2B12-févr17-févr
2B12-févr17-févr
2B17-févr17-févr
3A01-févr15-févr
4C03-mars06-mars
4C03-mars06-mars
4C04-mars06-mars
4C05-mars06-mars
4C06-mars06-mars
5A07-mars08-mars
5A07-mars08-mars
6A07-mars17-avr
6A09-mars17-avr
6A10-avr17-avr
6A11-avr17-avr
7B18-avr19-avr
7B19-avr19-avr
8A25-avr05-juin
8A25-avr05-juin
8A26-avr05-juin
9B07-juin08-juin
9B07-juin08-juin
10C19-juin22-juin

 

Thus, i have several working Date for the same ticket and one sole closing Date for each ticket.

What i am trying to do is determine a leadtime between last working Date and Closing Date. i Managed to get the leadtime per ticket  properly :

guillaume_gorli_0-1633251884237.jpeg

 

but now i need to produce a less detailed KPI showing average leadtime per category of ticket and per month but i cannot make it works.

This should look like this :

MoisABCAverage Leadtime
JAN8,0  8,0
FEB14,00,0 7,0
MAR1,0 0,00,5
APR6,00,0 3,0
MAY    
JUN40,01,03,014,7
Average Leadtime13,80,31,57,3

 

Attached is qvw and excel database for those who could help.

Thanks in advance

Guillaume

Labels (1)
0 Replies