Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

### Added
- Support for measure aggregation types MEDIAN and STANDARD_DEVIATION_SAMPLE

## 10.4.0 - 2025-12-05
### Added
- New visual response of type text (TextResponse)
- New visual response of type url (UrlResponse)
Expand Down
6 changes: 4 additions & 2 deletions src/cadenzaanalytics/data/measure_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@


class MeasureAggregation(Enum):
"""A class representing various aggregation functions for measures such as count, countDistinct,
sum, average, min and max.
"""A class representing various aggregation functions for measures such as count, count distinct,
sum, average, min, max, median and sample standard deviation.
"""
COUNT = "count"
COUNT_DISTINCT = "countDistinct"
SUM = "sum"
AVERAGE = "average"
MIN = "min"
MAX = "max"
MEDIAN = "median"
STANDARD_DEVIATION_SAMPLE = "stddevSamp"

def __str__(self):
return self.value