Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

DateDiff Help

$
0
0

trying to work on some lead times through by obtaining the difference between 2 dates

 

Committed/Done Diff = IF([DATE1] > [DATE2],"",DATEDIFF([DATE1],[DATE2],DAY))

 

what i am trying to achieve is have if the date 1 is greater than date 2, then leave field as blank

 

if date 1 is not greater than date 2, give me the date difference between the 2 dates

 

the error i get is

"expressions that yield variant data-type cannot be used to define calculated columns"

 

not sure what i am doing wrong

 

any help would be appreciated


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>