Descriptive statistics
Summaries describe different aspects of a distribution
A mean describes the arithmetic center, a median the middle ordered value, a percentile a position in the ordered data, and standard deviation the spread about the mean. Use the grain of one delivery per row in labs/statistical-analytics/deliveries.csv (six complete fictional deliveries). All measures below are separate DAX measures, not one script; native execution is not available. Start with a visible table to verify the grain and completeness.
Example 1 — Compare the center and spread
Import Deliveries with Minutes as a whole number. Create the following measures separately.
Mean Minutes = AVERAGE(Deliveries[Minutes])Median Minutes = MEDIAN(Deliveries[Minutes])Population Spread = STDEV.P(Deliveries[Minutes])Sample Spread = STDEV.S(Deliveries[Minutes])Values are 10, 12, 12, 14, 16, 36. Mean = 100/6 ≈ 16.67, median = (12+14)/2 = 13, population spread ≈ 8.8443 and sample spread ≈ 9.6885 minutes. Use population spread if these six are the entire population of interest; sample spread estimates variation from a sample. Neither establishes the sampling process was representative. For empty or tiny contexts, check the nonblank count first; standard-deviation functions can error when fewer than two nonblank values remain.
Example 2 — Quartiles, bins and a box plot specification
Create Q1 = PERCENTILE.INC(Deliveries[Minutes], 0.25), Q3 = PERCENTILE.INC(Deliveries[Minutes], 0.75), IQR = [Q3] - [Q1]. Inclusive interpolation yields Q1=12, Q3=15.5 and IQR=3.5. The 1.5×IQR fences are 6.75 and 20.75; 36 is a potential outlier, not a proven bad row. The whiskers extend to actual nonoutlying values 10 and 16, not to the fences. A numeric bin of width 10 gives [10,20): five rows, [20,30): zero, [30,40): one. Create bins from the numeric column, count DeliveryID, and explicitly show empty bins if needed via a bin dimension. Display a box-plot concept as a table of five-number and outlier values; do not assume a native box plot or install an unapproved custom visual. PERCENTILEX.INC can evaluate an expression, for example Minutes/60 per delivery, and yields Q3 of about 0.2583 hours.
Avoid misleading aggregations
Averaging regional means without weights answers a different question from averaging deliveries. A measure changes with slicer context; a calculated column is evaluated at refresh. Blank is not zero elapsed time; validate negative values and missing IDs separately. Percentiles vary with method, so label inclusive interpolation. Do not remove 36 just because it is unusual; check source timestamps and operational context.
Practice — Describe a change
Exclude delivery D6 (36 minutes) for a labeled comparison, not a silent correction. Calculate the new mean, median, Q1, Q3 and IQR. Explain why the two reports differ and why deleting a valid long delivery could hide a service problem.
References and next steps
Read inclusive percentile, expression percentile, population spread, sample spread and binning. Next, move from a distribution to a time-ordered series.