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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum the difference between two dates

Hi All,

I have a simple sum(if(condition,today() - earlier_date))  and I'm getting an incorrect answer.  The correct answer should be 1083 based on manually looking at the data but the answer I'm getting is 30 680.  Individually, each line is reflecting the correct TAT but the sum of the TATs is wrong. 

Any ideas?

Thanks,

S

1 Reply
Not applicable
Author

Hi,

Maybe the some value are duplicate.

Do you can show your example or qvw file?

Thanks