You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users define table calculations in SDK queries and need to filter results based on those calculated values. The API already supports table calculation filters via filters.tableCalculations, but the SDK has no way to reference table calculations in .filter() calls.
Root cause
The SDK's filter system is built exclusively around Dimension objects:
DimensionFilter in filter.py validates that field is a Dimension instance
CompositeFilter.to_dict() serializes all filters under the "dimensions" key
There is no TableCalculationFilter class or "tableCalculations" serialization path
Proposed solution
Add a filter type for table calculations that serializes under filters.tableCalculations in the API payload, similar to how DimensionFilter serializes under filters.dimensions.
Activity
linear-code commentedon Jun 12, 2026
PROD-8298
lightdash-bot commentedon Jun 12, 2026
This issue was mentioned by a user in slack: https://lightdash.slack.com/archives/C06B2PP2478/p1779317370745499?thread_ts=1779317370.745499&cid=C06B2PP2478
fix: type table calculations so filter operators compile (#21)
feat: support filtering on table calculations (#21)
fix: type table calculations so filter operators compile (#21)