You have a dataset with sales values. You want to calculate the Interquartile Range (IQR) using Tableau calculations to create a box plot. Which calculation correctly computes the IQR?
Remember that IQR is the difference between the 75th and 25th percentiles over a window.
WINDOW_PERCENTILE calculates percentiles over the current partition. Subtracting the 25th percentile from the 75th percentile gives the IQR.
You want to create a box plot in Tableau to analyze the distribution of sales by region. Which of the following steps is correct to build the box plot?
Box plots require grouping by category and a measure on the axis, then adding the box plot from Analytics.
Dragging Region to Columns and Sales to Rows sets up the categories and measure. Adding Sales to Detail ensures data points are considered. The Analytics pane lets you add a box plot visualization.
In a box plot, how are outliers typically determined and displayed?
Recall the standard rule for detecting outliers in box plots.
Outliers are values that lie beyond 1.5 times the IQR from the quartiles. They are shown as individual dots outside the whiskers.
You wrote this Tableau calculated field to find the upper whisker limit for a box plot:IF SUM([Sales]) < WINDOW_PERCENTILE(SUM([Sales]), 0.75) + 1.5 * (WINDOW_PERCENTILE(SUM([Sales]), 0.75) - WINDOW_PERCENTILE(SUM([Sales]), 0.25)) THEN SUM([Sales]) ELSE NULL END
But the whisker is not displaying correctly. What is the main issue?
Think about what level of aggregation is needed for the comparison.
The calculation compares the aggregated SUM([Sales]) which is the total over the partition, not individual row values. To find whisker limits, compare individual row sales values to the threshold.
You need to build a Tableau dashboard showing box plots of sales distribution for multiple product categories and subcategories. Users want to filter by region and time period. Which approach best ensures accurate box plots and responsive filtering?
Think about how to build a flexible, filterable dashboard with multiple categories.
Using a single worksheet with both Category and Subcategory allows consistent box plots. Adding filters with 'Apply to all worksheets' ensures responsive filtering across the dashboard.