Count orders across a two-year timeline

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 wholesaler uses Tableau Desktop with a current Excel connection that supports Count (Distinct). Its file contains one row per order line and the fields Order ID, Order Date, and Customer Segment. Order ID is non-null and unique to an order across the entire file, but it repeats when an order contains several lines. Every line belonging to an order has the same Order Date and Customer Segment.


The sales director wants one line per customer segment showing the number of distinct orders in each calendar month from July 2024 through June 2026. Months must remain in chronological order without combining matching month names from different years.


Describe the field placements, date setting, and aggregation you would use. Explain why counting source rows or using month names alone would fail. Finally, describe a source-based check of one segment-month result. No numerical calculation is required.

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 Tableau Questions: