Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
SkanderRadhouane
Contributor
Contributor

Calculate AVG days between two dates in Set Analysis

Hello Everyone,

So I have two dates, the first one is the day where a case is created and the second one is the end date.

What I would like to calculate, is a number where I can see how many days it take to the company to resolve a case.

 

Thank you and Have a nice day ! 

Labels (3)
1 Reply
vikasmahajan

create a variable using this

(date#('$(vCYEndDate)','DD/MM/YYYY')-date#('$(vCYStartDate)','DD/MM/YYYY')+1))

And use this in set analysis

 

Hope this helps you.

 

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.