Skip to main content

I am trying to get difference in days between first contact and close date.

below is the calculated field:

DATEDIFF('day',DATE([First Contact Date]),DATE([Case closed date]))

 

Case closed date = IF ISNULL([Closed Date]) THEN TODAY()

ELSE [Closed Date]

END

 

Results attached

Datediff is not giving correct values 

답변 2개
  1. 2024년 4월 2일 오전 11:51

    good morning @Michael Madisha​  - the function datediff is being calculated at the record level and then it is aggregated over the number of records -- the difference is 362 days but there must be 2 records so the aggregation is 726 - you need to aggregate using avg(), Min(), Max() or some other appropriate aggregation

0/9000