Help with summarizing using date-time

I am starting to use Metabase and I'm trying to do something that should be quite simple, but have not been able to. I want to summarize using the "CreatedAt" column as can be seen in the image below:

However, when I try to do it, it immediately shows me an error:

400 Bad Request POST { "code" : 400, "errors" : [ { "domain" : "global", "location" : "q", "locationType" : "parameter", "message" : "Invalid datetime string "2021-09-26T15:42:36Z"", "reason" : "invalidQuery" } ], "message" : "Invalid datetime string "2021-09-26T15:42:36Z"", "status" : "INVALID_ARGUMENT" }

Does anyone know what I'm doing wrong? Thank you!

Hi @casimiroperez
Post "Diagnostic Info" from Admin > Troubleshooting.
Metabase can only work with dates, otherwise it needs to cast the field, but that's currently not supported in BigQuery: - upvote by clicking :+1: on the first post

Hello, @flamber! Thank you very much for the fast answer!
Here is the info:

"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36",
"vendor": "Google Inc."
"system-info": {
"file.encoding": "UTF-8",
"": "OpenJDK Runtime Environment",
"java.runtime.version": "1.8.0_302-8u302-b08-1~deb9u1-b08",
"java.vendor": "Oracle Corporation",
"java.vendor.url": "",
"java.version": "1.8.0_302",
"": "OpenJDK 64-Bit Server VM",
"java.vm.version": "25.302-b08",
"": "Linux",
"os.version": "5.10.68+",
"user.language": "en",
"user.timezone": "Etc/UTC"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "13.4"
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.2.23"
"run-mode": "prod",
"version": {
"tag": "v0.41.5",
"date": "2021-12-16",
"branch": "release-x.41.x",
"hash": "fbfffc6"
"settings": {
"report-timezone": null

@casimiroperez You should upgrade to Java 11:
And I'm guessing that your database column type is actually a string instead of a datetime/timestamp.

@flamber Yeah, I've checked now and it's actually a string.
About the update, you're right. This is my home computer, I don't usually work from here but I should update it as well. :slight_smile:

Once again, thank you very much for the answers!