Skip to content

Add semi/non-additive measures/aggregates #265

@Stiivi

Description

@Stiivi

Add support for semi/non-additive measures/aggregates. See documentation in Measure for more information about the option.

This feature was present in a limited form before the SQL backend refactoring.

See the original code for more information how it was implemented.

Suggestion: support this feature only on SQL dialects which have window functions. Instead of complex subquery, use first_value() or last_value() OVER (PARTITION BY nonadditive_dimension_key ORDER BY optional_configurable_order)

Status: It was temporarily removed during the refactoring. It is useful feature that should be brought back.

Credits: Original feature was suggested and prototyped by @robin900.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions