Finding difference in hours for DateTime in adjacent rows
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
karthik2020
5 - Atom
‎03-22-2022
10:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I am trying to find the difference in hours between DateTime in adjacent rows( N - (N-1) row)
Can you let me know if this is feasible? I tried using existing samples online but facing errors. Thank you.
Labels:
- Labels:
- Date Time
1 REPLY 1
StephaneP
Alteryx Alumni (Retired)
‎03-22-2022
01:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello @karthik2020 ,
If I have well understood here is a way of doing it
You 1st need to convert your test as a date
+ using the formula DateTime Diff calculate the difference between 2 value
I have used the multirow tool as my data are on different rows. But if they are in different column you can use only the formula tool.
Hope it helps
Stéphane Portier
Sales Engineer
Alteryx
Sales Engineer
Alteryx

