diff --git a/docs-mintlify/docs/explore-analyze/workbooks/calculated-fields.mdx b/docs-mintlify/docs/explore-analyze/workbooks/calculated-fields.mdx index c0ba31b89f080..207b07d9a32f1 100644 --- a/docs-mintlify/docs/explore-analyze/workbooks/calculated-fields.mdx +++ b/docs-mintlify/docs/explore-analyze/workbooks/calculated-fields.mdx @@ -149,3 +149,10 @@ not. Select a calculated field in the sidebar to open the editor. You can change its **name** and **SQL expression**, then choose **Update** to apply. + +Fields generated from a column header menu—aggregations, **Calculations** +(**% of total**, **Running total**, etc.), and filtered measures—are edited +through a SQL-only editor instead: it shows just the Semantic SQL expression, +with no name field, since renaming isn't supported for these. Bucketed fields +(**Edit bins…**, **Edit groups…**) keep their own structured editor, described +above. diff --git a/docs-mintlify/embedding/iframe/dashboards.mdx b/docs-mintlify/embedding/iframe/dashboards.mdx index 905fd42e34e74..82855ab1212c9 100644 --- a/docs-mintlify/embedding/iframe/dashboards.mdx +++ b/docs-mintlify/embedding/iframe/dashboards.mdx @@ -77,20 +77,27 @@ This works on both regular and published (embedded) dashboards. The filter is only applied if a matching filter widget for that dimension already exists on the dashboard. -## Allow CSV export +## Allow chart export {#allow-csv-export} By default, embedded dashboards do not expose a download action on individual -widgets. To let viewers download a chart widget's data as a CSV file, add the +widgets. To let viewers download a chart widget's data, add the `allowExport=true` query parameter to the embed URL: ```text https://your-tenant.cubecloud.dev/embed/dashboard/YOUR_DASHBOARD_PUBLIC_ID?session=YOUR_SESSION_ID&allowExport=true ``` -When enabled, each chart widget's ⋮ menu shows a **Download as CSV** action. The -CSV is generated client-side from the data already loaded into the widget, so no -additional query is issued. The parameter is opt-in — omit it (the default) to -keep the download action hidden. +When enabled, each chart widget's ⋮ menu shows **Download as PNG**, **Download +as PDF**, and **Download as CSV** actions. CSV is generated client-side from +the data already loaded into the widget, so no additional query is issued. PNG +and PDF are server-rendered snapshots — the same mechanism used for +[dashboard export](/docs/explore-analyze/dashboards#download-as-png-or-pdf) in +the main app — so they can take up to a couple of minutes for large widgets, +and only one export can run at a time per dashboard (a second attempt is +rejected as "another export still running" rather than failing outright). The +parameter is opt-in — omit it (the default) to keep the download action +hidden; it is also hidden entirely when an admin turns off the account-wide +[data download controls](/admin/users-and-permissions/roles-and-permissions#restricting-data-downloads). ## Show or hide the AI chat diff --git a/docs-mintlify/embedding/iframe/events.mdx b/docs-mintlify/embedding/iframe/events.mdx index 066816c5c9964..659e5dae4d555 100644 --- a/docs-mintlify/embedding/iframe/events.mdx +++ b/docs-mintlify/embedding/iframe/events.mdx @@ -209,8 +209,8 @@ exported rows themselves. ``` - The CSV download action on a dashboard widget only appears when the embed URL - includes `allowExport=true` (see [Dashboards → Allow CSV + The download action on a dashboard widget only appears when the embed URL + includes `allowExport=true` (see [Dashboards → Allow chart export](/embedding/iframe/dashboards#allow-csv-export)). The event fires when a viewer uses it.