You have a star schema in a BI model where the fact table contains multiple rows per order item due to event logging (e.g., status updates). For an order-level metric (e.g., count orders by region), what is the best remediation strategy?
Answer
Create an order-level bridge or deduplicate the fact using the “final state” or distinct order_id before aggregating
Explanation
Metrics must respect the intended grain; deduplicating to order_id prevents inflation caused by multiple event rows per order.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Your BI dataset uses two date fields: order_date and ship_date. A stakeholder asks for “revenue by month” based on shipping, but compares it to a cohort retention curve built on order month. How should you structure the semantic model to avoid confusion?
View question →
You have two BigQuery datasets: one with user IDs as integers and another with user IDs as strings (some with leading zeros). To build a reliable join key for Google BI dashboards, what is the most robust strategy?
View question →
In a BI semantic layer, you need a measure that counts active users as of each day, where user status changes over time (effective_start and effective_end). What is the correct logic pattern?
View question →
You must forecast inventory risk using historical demand and lead times stored in separate tables. Which modeling approach in Google BI best supports explainable variance drivers?
View question →
In Google Business Intelligence, you need to compute a customer-level metric that must exclude refunds that occur in a later month than the original purchase. Which approach best preserves auditability while keeping the metric consistent over time?
View question →
A dashboard needs to support both global and country-specific KPIs with consistent semantics. Some metrics are only meaningful for certain countries due to local tax rules. Which modeling approach is most defensible?
View question →