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.
GELÖST

Grouping DateTime Data by hour and Averaging Value

SamThomas
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 ANTWORTEN 4
Christina_H
Magnetar

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

Christina_H_0-1678465070302.png

 

SamThomas
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
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
Meteoroid

Great, thank you so much. 

Beschriftungen
Top-Lösungs-Autoren