How to find the total days from sales date to ship date

654    Asked by JamesLeeming in Tableau , Asked on Dec 15, 2019
Answered by Asutosh Jha

You can achieve this with the help of the calculated field. We have datediff() function which can be used to calculate the difference.

Syntax: DATEDIFF(date_part, date1, date2, [start_of_week])

And so, you can write like: DATEDIFF(‘day’, order_date, ship_date)



Your Answer

Interviews

Parent Categories