how can i find the diff bw two date/time columns.
9-4-2018 15:30:00 28-03-2018 21:00:00
In the data view, you can try the formula below.
Column = DATEDIFF([Column1], [Column2],HOUR)
@Surya1, in the Query Editor, try:
duration_calc = DateTime.From([Column2])-DateTime.From([Column1])
-11.77083333 corresponds to:
Proud to be a Super User!
Check out the News & Announcements to learn more.
Click here to read more about the October 2021 Release!
Check out the new Power Platform Community Connections gallery!
Mark your calendars and join us for our next Power BI Dev Camp!