In Looker, you need a metric that counts distinct active users per week, where “active” is defined by at least one qualifying event in that week. Which approach most reliably implements correct distinct counting across dimensions?

Answer

Implement the metric as a single LookML measure with proper filters and ensure the model’s aggregation aligns to week grain

Explanation

Correct distinct counting depends on applying the activity filter before the aggregation and ensuring the measure’s grain aligns with the time dimension. This avoids over/under-counting from mismatched query planning.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list