Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
actorres253aninha
Contributor
Contributor

Difference between 2 dates of a proposal status

Dear All,

I´m new to Qlikview and I need some help.

I need to calculate the average time (in days) a proposal is treated according to its status. Just can´t find a way to do that.

Could someone help me?

Screenshot_1.png

Labels (1)
2 Replies
pradosh_thakur
Master II
Master II

Your dates seems to be string by just looking at it. Can you confirm it?

You can use interval() function once they are converted to date/tiemstamp 

Learning never stops.
Anil_Babu_Samineni
MVP
MVP

Perhaps this?

Avg(TOTAL <STATUS> Num(Num#(Interval(START_DT - END_DT, 'DD'))))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful