Repairing a customer metric across sales channels

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

A business sells through Online and Store channels. Its Tableau data contains one row per order line, and a customer may purchase through both channels and in several product categories. There are no filters, missing customer IDs, or duplicated order lines.


A view contains Sales Channel as its only dimension. The analyst wants average total spending per customer within each channel, counting each purchasing customer once within that channel. The analyst instead creates the following field and displays it as Average:


Plain text
{FIXED [Customer ID] : SUM([Sales])}


Explain why its calculation grain does not match the requested measure. Write a suitable INCLUDE expression and specify its display aggregation. Finally, explain whether that replacement still measures average total spending per customer for an entire channel if Product Category is added to Detail.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Level of Detail Expressions Questions: