Salesforce Certified Tableau Data Analyst free question 5 / 10 · Domain 2: Explore and Analyze Data
You want a table to keep only the order lines whose discount amount is empty (Null). You place Discount on the Filters shelf and pick an aggregation. Which of the four options in the next dialog box do you use?
- Select At Least, then choose Null Values
- Select Range of Values, then choose Null Values
- Select At Most, then choose Null Values
- Select Special, then choose Null Values
Show the answer and explanation
Answer: D
Why this is correct
When you drag a measure to the Filters shelf, you first select how to aggregate it, and then you can create four types of quantitative filters: Range of Values, At Least, At Most, and Special. The help page says to select Special to filter on Null values, and you can include only Null values, Non-null values, or all values. To keep only the empty lines, you pick Null Values. The other three options filter by the size of the values, so they work on rows that have a value.
Why the other options are wrong
"Select Range of Values, then choose Null Values" … Null Values is a choice under Special, not under Range of Values. Range of Values sets a minimum and a maximum of the range to include.
"Select At Most, then choose Null Values" … Null Values is a choice under Special, not under At Most. At Most includes all values less than or equal to a maximum you specify.
"Select At Least, then choose Null Values" … Null Values is a choice under Special, not under At Least. At Least includes all values greater than or equal to a minimum you specify.
Key point
Range of Values includes the values you specify as the ends of the range. At Least and At Most are handy when the data changes often and an upper or lower limit is hard to set. Filtering measures on a large data source can degrade performance noticeably, so a set containing the measure can be more efficient.