First-purchase dates with tied orders

An online retailer uses Tableau to count customers whose first-ever purchase occurred in 2026. The table contains the complete purchase history of these four customers. Every order identifier is unique, dates have day precision, and no values are missing. Customer B placed two separate orders on the same day.


Order ID

Customer ID

Order Date

R01

A

2025-11-14

R02

A

2026-01-09

R03

B

2026-02-03

R04

B

2026-02-03

R05

B

2026-04-18

R06

C

2025-12-20

R07

C

2026-03-08

R08

D

2026-05-22


The analyst defines two fields:

  • First Purchase: { FIXED [Customer ID] : MIN([Order Date]) }
  • First Purchase in Year: { FIXED [Customer ID], YEAR([Order Date]) : MIN([Order Date]) }

Both expressions are evaluated using the complete table, with no filters. For the reporting counts below, consider only orders dated in 2026.


Enter three exact integers:

  1. The number of distinct customers whose first-ever purchase occurred in 2026.
  2. The number of 2026 orders whose Order Date equals their customer's First Purchase value.
  3. The number of distinct customers with a 2026 order whose Order Date equals their First Purchase in Year value.
Your answers

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: