How to define YEAR to work as date

Hi! I'm very new at Metabase... and quite lost :frowning:

My data has only YEAR (no month, no day), how Can I define it to work as date?
I've tried to put any date format in TYPE


but the result is wrong.
It has worked when I defined year (ANY) as number, but then time series is not really nice (it creates "automatic groups"...)

What should I do?

Hi @AQuer
Please post "Diagnostic Info" from Admin > Troubleshooting.
"automatic groups" is called binning/binned/granularity in Metabase, so you select Unbinned, then there's no "grouping" done to the data.

1 Like

this? Thanks for the answer, its' great now.
{
"browser-info": {
"language": "ca",
"platform": "Win64",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0",
"vendor": ""
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "Java(TM) SE Runtime Environment",
"java.runtime.version": "1.8.0_131-b11",
"java.vendor": "Oracle Corporation",
"java.vendor.url": "http://java.oracle.com/",
"java.version": "1.8.0_131",
"java.vm.name": "Java HotSpot(TM) 64-Bit Server VM",
"java.vm.version": "25.131-b11",
"os.name": "Linux",
"os.version": "3.10.0-1160.25.1.el7.x86_64",
"user.language": "en",
"user.timezone": "Europe/Madrid"
},
"metabase-info": {
"databases": [
"oracle",
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "13.3"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.2.18"
}
},
"run-mode": "prod",
"version": {
"tag": "v0.39.4",
"date": "2021-06-15",
"branch": "release-x.39.x",
"hash": "f538050"
},
"settings": {
"report-timezone": null
}
}
}