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?
Answer
Create a bridge table between orders and promotions and link revenue only to the orders grain
Explanation
Bridge tables resolve many-to-many relationships safely. Keeping revenue in the orders fact preserves the correct revenue grain and prevents duplication from promotion splits.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
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?
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 →