Joseph
03/20/2023, 8:26 PMto_date({custcol4},'MM/DD/YYYY') - to_date(Lag({custcol4}, 1) OVER(partition by{item} ORDER BY {custcol4} ASC),'MM/DD/YYYY')Castor
03/20/2023, 11:52 PMJoseph
03/20/2023, 11:54 PMMarc
03/21/2023, 7:18 AMNElliott
03/21/2023, 8:10 AMMarc
03/21/2023, 8:11 AMNElliott
03/21/2023, 8:12 AMMarc
03/21/2023, 8:14 AMJoseph
03/21/2023, 12:24 PMCastor
03/21/2023, 1:56 PMJoseph
03/21/2023, 2:00 PMLAG({custcol4}, 1) OVER(partition by{item} ORDER BY {custcol4} ASC)
as a formula date and i get the same issueCastor
03/21/2023, 2:02 PMCastor
03/21/2023, 2:03 PMJoseph
03/21/2023, 2:07 PMCastor
03/21/2023, 2:21 PMJoseph
03/21/2023, 2:23 PM