Skip to content

docs: document multi-stage filter directive#11020

Open
mintlify[bot] wants to merge 3 commits into
masterfrom
mintlify/9cbd5bca
Open

docs: document multi-stage filter directive#11020
mintlify[bot] wants to merge 3 commits into
masterfrom
mintlify/9cbd5bca

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Jun 5, 2026

Documents the new filter parameter on multi-stage measures and dimensions introduced in #10827.

Changes

  • reference/data-modeling/measures.mdx — adds the filter parameter with sub-parameters mode (relative / fixed), exclude, keep_only, and include (including boolean or / and groups). Each example is shown in both YAML and JavaScript.
  • reference/data-modeling/dimensions.mdx — adds the filter parameter for multi-stage dimensions, linking back to the measures reference for the full sub-parameter description.
  • docs/data-modeling/measures.mdx — adds a "Filter directives" section under Multi-stage measures covering the common patterns: dropping a query filter, replacing a query filter, pinning to a fixed slice with mode: fixed, and boolean groups. All examples are shown in YAML and JavaScript.

Notes

  • All examples mirror the YAML fixtures and validator tests added in the PR (multi_stage_filter.yaml, integration_multi_stage.yaml, cube-validator.test.ts).
  • Includes a Tesseract preview warning consistent with neighboring multi-stage docs.

@mintlify mintlify Bot requested a review from keydunov as a code owner June 5, 2026 13:44
@github-actions github-actions Bot added the pr:community Contribution from Cube.js community members. label Jun 5, 2026
@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)
cubed3 🟢 Ready View Preview Jun 5, 2026, 1:46 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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

Labels

pr:community Contribution from Cube.js community members.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants