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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Folarin
Contributor II
Contributor II

Date subtraction & nulls

Hi,

I am trying to subtract 2 dates but one of the fields sometimes has no dates. This gives me a strange result where  I get a large minus figure such as -2174. How can I deal with this? This is the expression I have used:

resolution date - created date

subtract.PNG

2 Replies
m_woolf
Master II
Master II

Rangesum(resolution date, - created date)

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Alt(resolution date, today(2)) - created date

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com