The unique count aggregation type counts only the unique values of a specified event property.
UNIQUE COUNT calculation method
Here is how you can create a unique count aggregation from the UI:
metered
or recurring
;This billable metric can be both metered
or recurring
.
Lago calculates the COUNT_DISTINCT(events.properties.property_name)
for the two following events received.
In that case, with this aggregation type, Lago only counts the unique values request_id
property in the event payloads, resulting in a billable value of 1 unit.