Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Avg function inside set analysis

Good morning,

Im doing a bug tracker report and i have some difficulties with close tickets statistics.

First of all, I filter close tickets with set analysis: Count({$<status={'old_done', 'old_notdone'}, Flags={2}>} TicketNumber)

Second, Average time is generated as Interval(Avg(Tickets.indicatedTime),'hh:mm'). But this formula takes time on open tickets too... So, could I merge both functions into one to calculate average time on only close tickets?

Thanks in advice!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Hi,

try something like

Interval(Avg({$<status={'old_done', 'old_notdone'}, Flags={2}>} Tickets.indicatedTime),'hh:mm')

Regards,

Stefan

View solution in original post

2 Replies
swuehl
MVP
MVP

Hi,

try something like

Interval(Avg({$<status={'old_done', 'old_notdone'}, Flags={2}>} Tickets.indicatedTime),'hh:mm')

Regards,

Stefan

Not applicable
Author

Hello Stefan,

I think its correct.

Thanks!