Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Grouping DateTime Data by hour and Averaging Value

SamThomas
6 - Meteoroid

Hi 

 

I would like to take this 15 minute data and average it out to 1 hourly data for each site. 

 

Please see attached sample data. The real data spans 5 years and has a total of 6 sites. 

 

Thank you. 

4 REPLIES 4
Christina_H
14 - Magnetar

Try using DateTimeTrim([DateTime],"hour")

Christina_H_0-1678465070302.png

 

SamThomas
6 - Meteoroid

Thank you. I would like the data to be grouped based on the day and hour and the 15 minute Value to be averaged over that hour grouping. Is that possible?

Christina_H
14 - Magnetar

The above trims the date time to the hour.  Just add a summarize tool after it, group by the new date time column and average the values.

Christina_H_1-1678467639991.png

SamThomas
6 - Meteoroid

Great, thank you so much. 

Labels
Top Solution Authors