Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(grouped_by): Add support for unique count #1668

Merged
merged 2 commits into from
Feb 5, 2024

Conversation

vincent-pochet
Copy link
Collaborator

Context

Some customers have requested a way to group usage fees on an invoice using an event property. The same charge model properties should be applied to each group. The logic will only apply to standard charge model.

Description

This PR adds the new grouping logic for the unique count aggregation (without pro-ration)

@vincent-pochet vincent-pochet added Billable Metric Related to the billable metrics Event Related to Events labels Feb 5, 2024
@vincent-pochet vincent-pochet self-assigned this Feb 5, 2024
@vincent-pochet vincent-pochet changed the title Feat grouped by unique count feat(grouped-by): Basic refactoring for unique count aggregation Feb 5, 2024
@vincent-pochet vincent-pochet changed the title feat(grouped-by): Basic refactoring for unique count aggregation feat(grouped_by): Add support for unique count Feb 5, 2024
@vincent-pochet vincent-pochet merged commit f9fcd13 into main Feb 5, 2024
6 checks passed
@vincent-pochet vincent-pochet deleted the feat-grouped-by-unique-count branch February 5, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Billable Metric Related to the billable metrics Event Related to Events
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants