Metrics fields disapearing when joinning question

Describe the bug

Hi Folks, how are you doing?

We notice a very strange behavior. When We are joinning 2 or more questions, sometimes some of the metrics that is inside on one of those does not appear at SUMMARIZE.

To Reproduce

See how I built this example. Here is the query 1:

And here follows query 2:

And What's happening, when We join both and We try to summarize any number:

It does not appear

Expected behavior

We expected to find and select ‘Sum of total’ at Question 3905. However, it’s not available when creating a new Question.

Logs

We didn't notice any kind of pattern, but it's have been happening several times and I strongly believe that might be some product issue. So, we appreciate if you give us any help to understand what it could be!

Information about your Metabase installation

{
"browser-info": {
"language": "en-GB",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15",
"vendor": "Apple Computer, Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.18+10",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.18",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.18+10",
"os.name": "Linux",
"os.version": "5.15.109+",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"mysql",
"bigquery-cloud-sdk",
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "14.5"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.5.1"
}
},
"run-mode": "prod",
"version": {
"date": "2023-04-05",
"tag": "v0.46.1",
"branch": "release-x.46.x",
"hash": "12a6e1d"
},
"settings": {
"report-timezone": "America/Sao_Paulo"
}
}
}

Best,

2 Likes