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
Related questions
A data modeler is building a star schema for a BI suite. Fact tables include “events” and “orders,” with many-to-many relationships via promotions. Which approach most correctly handles this without double-counting revenue?
View question →
A streaming pipeline pushes clickstream events into BigQuery. You need sessionization logic that is consistent even if events arrive out of order. What is the best practice to ensure deterministic session boundaries?
View question →
A BI analyst notices that cohort retention metrics differ between Looker and a separate BigQuery query that uses the same base tables. Which root cause is most likely?
View question →
A company uses BigQuery ML to forecast weekly demand, then publishes forecasts in a BI dashboard. Which measure definition best ensures the dashboard shows forecast uncertainty rather than a single point estimate?
View question →
A stakeholder requests a dashboard that compares conversion rate by channel across multiple devices, but the underlying data has overlapping definitions of “channel” (e.g., last-touch vs first-touch). What approach best preserves metric correctness?
View question →
A logistics company has session-level data with late-arriving events that can change historical session attributes. In Google BI workflows, what strategy best ensures dashboards remain consistent while still correcting past weeks when data arrives?
View question →