Visibility option Metabase - Only in detail view

Hi there! I'm trying to use "Only in detail view " option in Visibility for a field which I'm calling it in a dashboard. But that doesn't seem to work. What is the fix for this?

Hi @sgayathri
Post "Diagnostic Info" from Admin > Troubleshooting.
It's working fine for me, so try describing your problem/question more precisely.
If you have manually selected which columns are being shown via the sidebar of the question, then that will overrule the setting, since the setting is only the default for newly created questions from that table.

Here is the diagnostic 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/106.0.0.0 Safari/537.36 Edg/106.0.1370.52",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "Cp1252",
"java.runtime.name": "Java(TM) SE Runtime Environment",
"java.runtime.version": "11.0.6+8-LTS",
"java.vendor": "Oracle Corporation",
"java.vendor.url": "http://java.oracle.com/",
"java.version": "11.0.6",
"java.vm.name": "Java HotSpot(TM) 64-Bit Server VM",
"java.vm.version": "11.0.6+8-LTS",
"os.name": "Windows Server 2016",
"os.version": "10.0",
"user.language": "en",
"user.timezone": "America/New_York"
},
"metabase-info": {
"databases": [
"sqlserver"
],
"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-03-23",
"tag": "v0.42.3",
"branch": "release-x.42.x",
"hash": "33fb268"
},
"settings": {
"report-timezone": null
}
}
}

@sgayathri
Latest release is 0.44.6: https://github.com/metabase/metabase/releases/latest
You should migrate away from H2 if you are using Metabase in production: https://www.metabase.com/docs/latest/installation-and-operation/migrating-from-h2

Hi there! I upgraded Metabase to its latest version. Enable the option "Only in detail view" and created a new question, added to dashboard. But I don't see the option functioning.

Diagnostic 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/106.0.0.0 Safari/537.36 Edg/106.0.1370.52",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "Cp1252",
"java.runtime.name": "Java(TM) SE Runtime Environment",
"java.runtime.version": "11.0.6+8-LTS",
"java.vendor": "Oracle Corporation",
"java.vendor.url": "http://java.oracle.com/",
"java.version": "11.0.6",
"java.vm.name": "Java HotSpot(TM) 64-Bit Server VM",
"java.vm.version": "11.0.6+8-LTS",
"os.name": "Windows Server 2016",
"os.version": "10.0",
"user.language": "en",
"user.timezone": "America/New_York"
},
"metabase-info": {
"databases": [
"sqlserver"
],
"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
}
}
}

@sgayathri
So you are saying the it works fine in the question, but not on the dashboard?
Post metadata from the question by going to /api/card/123, where 123 is the question ID.

I see that option working in my question. Till I click the 3 dots on the first line, the text is wrapped, but once I click the 3 dots, then I'm not able to minimize the column

before clicking the dots

after clicking the dots

@sgayathri That has nothing to do with each other. There's no full wrapping support currently.

so what does the "Only in detail view" option does and where it is applicable?

@sgayathri https://www.metabase.com/docs/latest/data-modeling/metadata-editing#column-visibility

I also have this problem. I choose option "Only in detail view" for a field, but I don't see it in a detail view of a record. So it looks like a bug because its behaviour is not as it was described:

I have 0.46.4 self-hosted.

{
"browser-info": {
"language": "ru-RU",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.19+7",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.19",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.19+7",
"os.name": "Linux",
"os.version": "5.10.0-14-cloud-amd64",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"postgres",
"mysql",
"googleanalytics",
"clickhouse",
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "11.4 (Debian 11.4-1.pgdg90+1)"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.5.1"
}
},
"run-mode": "prod",
"version": {
"date": "2023-05-24",
"tag": "v0.46.4",
"branch": "release-x.46.x",
"hash": "f858476"
},
"settings": {
"report-timezone": null
}
}
}

@tritatuy please post reproduction steps

Hi! I posted it earlier:
I choose option "Only in detail view" for a field in Data Model in Admin Panel.
Then I exit Admin panel and go to start a new question. Selecting a target table and pressing on an ID of a certain record I open the Detail View but I can't find there the field for which I have selected the option "Only in detail view".

Upd:
We have updated Metabase version to 0.46.6.1, but the problem is still here.

@tritatuy - thank you. This indeed appears to be broken, I submitted an issue for it.