Skip to content

Conversation

@charliedowler
Copy link

Summary

  • Add reference docs for 8 new table calculation functions from Lightdash PRs #19999 and #20102
  • Row functions (row, offset, index, lookup, offset_list, list) — row-based functions that compile to SQL window functions
  • Pivot functions (pivot_row, pivot_offset_list) — functions for accessing values across pivot columns
  • Each function page includes signature, parameter table, practical example, and compiled SQL in an expandable accordion
  • Add "Table calculation functions" nav group in the sidebar between the main table calculations page and SQL templates
  • Cross-link from the table calculations guide and SQL templates overview

Test plan

  • Verify both new pages render at /references/table-calculation-functions/row-functions and /references/table-calculation-functions/pivot-functions
  • Verify "Table calculation functions" nav group appears in the sidebar
  • Verify accordion blocks expand/collapse for compiled SQL sections
  • Verify cross-links from table-calculations.mdx and sql-templates.mdx resolve correctly
  • Verify existing SQL template pages are unaffected

🤖 Generated with Claude Code

Document the 8 new table calculation functions from Lightdash PRs #19999
and #20102: row, offset, index, lookup, offset_list, list, pivot_row,
and pivot_offset_list. Each function page includes signature, parameter
table, practical example, and compiled SQL in an accordion.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

🤖 Documentation Bot

All checks passed! No issues found.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

🤖 Documentation Bot

All checks passed! No issues found.

Comment on lines +89 to +95
{
"group": "Table calculation functions",
"pages": [
"references/table-calculation-functions/row-functions",
"references/table-calculation-functions/pivot-functions"
]
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think this belongs here. I expect those files content to be part of references/table-calculations.mdx

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.

2 participants