Skip to content

Add Support for relative time values for time filters #1912

@john-nexkey

Description

@john-nexkey

Is your feature request related to a problem? Please describe.
For timeDimensions we are able to specify relative values such as dateRange: 'Last 7 days'. It would be ideal if we were able to specify relative values for time filters as well.

Describe the solution you'd like
To be able to define relative values such as 'Last 7 days' in both inDateRange and notInDateRange: https://cube.dev/docs/query-format#filters-operators-in-date-range and https://cube.dev/docs/query-format#filters-operators-not-in-date-range

Additional context
Previous relevant discussion: #1737

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:serverIssues relating to Cube Core's Serverhelp wantedCommunity contributions are welcome.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions