Complete the code to create a box plot by dragging the correct mark type.
Drag the mark type to [1] to create a box plot visualization.The Box-and-Whisker mark type is used in Tableau to create box plots, which show distribution, median, quartiles, and outliers.
Complete the calculation to find the median value for the box plot.
Create a calculated field with the formula: MEDIAN([1])
The MEDIAN function requires a field, so use the field name [Sales] directly to calculate the median sales value.
Fix the error in the calculation to exclude null values from the box plot.
IF NOT ISNULL([1]) THEN [Profit] ENDThe condition checks if the field is not null, so inside the IF statement you should use the field [Profit] directly to return the value for non-null rows.
Fill both blanks to create a calculated field that identifies outliers beyond 1.5 times the interquartile range.
IF [Profit] [1] ([Q3] + 1.5 * [2]) THEN 'Outlier' ELSE 'Normal' END
Outliers are values greater than Q3 plus 1.5 times the interquartile range (IQR). So the condition uses > and IQR.
Fill all three blanks to create a calculated field that classifies data points as 'Lower Outlier', 'Upper Outlier', or 'Normal'.
IF [Sales] [1] ([Q1] - 1.5 * [2]) THEN 'Lower Outlier' ELSEIF [Sales] [3] ([Q3] + 1.5 * IQR) THEN 'Upper Outlier' ELSE 'Normal' END
Lower outliers are values less than Q1 minus 1.5 times IQR, so use < and IQR. Upper outliers are values greater than Q3 plus 1.5 times IQR, so use >.