Skip to content

docs: document totals for metric-only table calculations#776

Closed
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/dec1785e
Closed

docs: document totals for metric-only table calculations#776
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/dec1785e

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Jun 5, 2026

Summary

Document that Lightdash now computes grand, column, row, and subtotal values for table calculations whose formulas reference only metrics.

Changes

  • Updated the Totals section in the table chart reference to explain which table calculations are eligible for totals and which are left blank.
  • Removed the outdated note stating totals are not calculated for table calculations.

Context

Triggered by lightdash/lightdash#23891, which extended the v2 calculate-total endpoint to keep metric-only SQL and formula table calculations and re-apply their formulas to the aggregated metric row. Window/template calculations, dimension references, formula aggregates, and row/pivot/total helper functions are intentionally left blank because they can't be safely recomputed once the query collapses to a totals row.

cc @ZeRego

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

🤖 Documentation Bot

Status

⚠️ 1 broken link needs manual attention


🔗 Broken Links (Manual Fix Required)

Click to view details
   📄 timezones-draft.mdx

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 5, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview Jun 5, 2026, 12:32 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant