Salesforce Certified Tableau Data Analyst free question 2 / 10 · Domain 1: Connect To and Transform Data
In a line view, the continuous date field Ship Date is on Columns. Some rows have no ship date, and a special values indicator appears in the lower right corner of the view. You click the indicator and choose Show Data at Default Position. Which result is correct?
- The rows with no date appear at the right end of the axis, the latest date, and stay in the calculations
- The rows with no date appear at 1/1/1900, and are left out of the calculations
- The rows with no date appear at the left end of the axis, the earliest date, and are left out of the calculations
- The rows with no date appear at the default position for dates, 12/31/1899, and stay in the calculations
Show the answer and explanation
Answer: D
Why this is correct
When you put a measure or a continuous date in the view, values are drawn along a continuous axis, and values Tableau cannot plot, such as nulls, trigger the indicator in the lower right corner. Clicking it offers Filter Data or Show Data at Default Position. The second option draws the data at a default location on the axis, and the help states that the null values will still be included in calculations. The default depends on the data type: 0 for numbers, 12/31/1899 for dates, 1 for negative values on a log axis, and (0,0) for unknown geographic locations.
Why the other options are wrong
"The rows with no date appear at the left end of the axis, the earliest date, and are left out of the calculations" … The default position is not an end of the axis but a fixed value per data type, which is 12/31/1899 for dates. Nulls leave the calculations only when you choose Filter Data.
"The rows with no date appear at 1/1/1900, and are left out of the calculations" … The default position for dates is 12/31/1899, not 1/1/1900. With Show Data at Default Position, the null values are still included in calculations.
"The rows with no date appear at the right end of the axis, the latest date, and stay in the calculations" … It is correct that the values stay in the calculations, but they are not drawn at the right end of the axis. They are drawn at the default position for dates, 12/31/1899.
Key point
If you are unsure how to handle these values, leave the indicator visible so you remember that some data is not shown. A hidden indicator can be brought back from the Analysis menu with Special Values > Show. To remove nulls from a dimension or a discrete measure, drag the pill to the Filter shelf and deselect Null.