This website uses cookies to ensure you get the best experience.
Learn more.
A dashboard should count each customer once even when a customer placed several orders. Which approach best fits?
Published
- Use SAFE_DIVIDE and handle its result explicitly.
- Validate join cardinality and aggregate or deduplicate at the intended grain.
- Use COUNT DISTINCT on the stable customer identifier.
- Join results to a complete calendar dimension and fill only the intended missing measures.
Comments — 0
Sign in to comment