Sample question 2 — Connecting and Preparing Data
A Tableau Desktop analyst drags Order Date to Columns and gets one tidy header per year, separated by vertical dividers. Stakeholders instead want an unbroken axis running continuously through the date range. What change should the analyst make?
- A. Create a calculated field that adds one day to every date in the dataset.
- B. Switch the Order Date field from discrete to continuous so it draws a continuous axis
- C. Add a second Order Date pill to the view and then hide the first one entirely.
- D. Change the field's data type to string so that it plots as an unbroken axis instead.
Answer: B. Option B is correct. A discrete date produces separate headers for each value, while a continuous date draws a single unbroken axis, so switching from discrete to continuous is the correct change. Option C is incorrect because adding and hiding a pill does not change how the date is plotted. Option D is incorrect because converting to a string would make the field discrete categorical, not continuous. Option A is incorrect because adjusting dates by a day has nothing to do with the axis type.
