Month function is not working inside custom column


I tried using the above function, month to create custom column, but it is saying unknown column.

Hi @brucewayne_now
Post "Diagnostic Info" from Admin > Troubleshooting.

"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36",
"vendor": "Google Inc."
"system-info": {
"file.encoding": "UTF-8",
"": "OpenJDK Runtime Environment",
"java.runtime.version": "",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "",
"java.version": "",
"": "OpenJDK 64-Bit Server VM",
"java.vm.version": "",
"": "Linux",
"os.version": "3.10.0-1160.76.1.el7.x86_64",
"user.language": "en",
"user.timezone": "GMT"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "h2",
"application-database-details": {
"database": {
"name": "H2",
"version": "1.4.197 (2018-03-18)"
"jdbc-driver": {
"name": "H2 JDBC Driver",
"version": "1.4.197 (2018-03-18)"
"run-mode": "prod",
"version": {
"date": "2022-11-01",
"tag": "v0.44.6",
"branch": "release-x.44.x",
"hash": "5c6ae21"
"settings": {
"report-timezone": null

@brucewayne_now You are referencing v45 documentation, but using v44.6.
Latest release is 0.45.1:
You should migrate away from H2:

Thanks @flamber , i will upgrade to the latest version.

To fetch the data, I am using MySQL database. But application is running with h2 database, any problem in using h2??

@brucewayne_now Search the forum for reasons on why not to use H2 as the application database in production.

1 Like