BigQuery dimension group datetime datatype time timeframe issues

We have a datetime dimension being read from BigQuery, the problem is on Looker it converts the time value to Zeros.

Is there anyone to retain the time value?

  dimension_group: placed_at_local {
type: time
datatype: date
timeframes: [
raw,
hour,
time,
date,
]
sql: ${TABLE}.placed_at_local ;;
}
2aa38c6e-cc34-444f-b00d-929d9953f3b6.png
Solved Solved
0 6 409
1 ACCEPTED SOLUTION

Thank you @Kehinde , the first suggestion worked for me. My mistake was using

datatype: date

which ignored the timestamp

datatype: datetime

corrected that.

View solution in original post

6 REPLIES 6
Top Labels in this Space
Top Solution Authors