Can Google Data Studio do time-series graphs at the hour level?

Viewed 9920

Every example of a time-series graph I've seen for Google Data Studio has a metric plotted per day. Is there any way to configure the granularity of the time axis (hour, month, etc)?

I want to show the count of events per hour throughout one day. My columns are in bigquery as types datetime:TIMESTAMP and count:INTEGER

4 Answers

Edit: Based on new updates to Data Studio, @Brian's answer above is the correct one.

You can create a calculated field with the TODATE funciton. Example formula can be TODATE(source_field, 'SECONDS', '%Y%m%d%H'). Then this field should be marked as Date(YYYYMMDDHH) in the field editing screen.

There is a way to do this. If the data is broken up hour by hour, make the hour column(s) the Time Dimension. If all of the hour data isn't in a single column, you may want to reformat your data (manually or using a data prep source, your choice). Or you can go into the time setting of the field and change it into hours.

Now, there seems to be a straightforward way:

  1. Assuming that you have a Time Series plot, use Timestamp for your dimension and want to show hourly aggregated values.
  2. Select the dimension's preferences:

Edit the timestamp dimension

  1. Change Type to Date Hour

Select Date Hour type

Related