ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Grouping DateTime Data by hour and Averaging Value

SamThomas
Meteoroide

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 RESPUESTAS 4
Christina_H
Magnetar

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

Christina_H_0-1678465070302.png

 

SamThomas
Meteoroide

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
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
Meteoroide

Great, thank you so much. 

Etiquetas
Autores con mayor cantidad de soluciones