Sub topic 3
Looking at Distributions with Binned Charts
Assume you know the Power BI Desktop report canvas, have a loaded model with relationships, and understand basic aggregations such as sum, average, and count.
Looking at distributions with binned charts
A distribution shows how numeric values are spread. A binned chart groups values into ranges, called bins. For example, a product-price distribution might count products under 50, from 50 to 199, and at least 200.
Create bins from a numeric column, then place the bin field on the axis and a count measure in Values.
Price Band =
SWITCH (
TRUE (),
Product[ListPrice] < 50, "Under 50",
Product[ListPrice] < 200, "50 to 199",
"200 and over"
)Use a column chart for a small number of ordered ranges. For many equal-width bins, use Power BI's bin feature or a histogram-style custom visual.
Common mistakes that mislead readers
- Using unequal bin widths makes bar heights hard to compare.
- Too many bins create noise; too few hide useful patterns.
- A pie chart is poor for many numeric ranges. Use a sorted column chart instead.
- Showing counts without stating the population or filters can lead to wrong conclusions.
Sorting, labels, axes and color
Sort bins by their numeric order, not alphabetically. Label the axis with units, such as Price ($), and show a clear count or percentage title. Use one color for the distribution. Reserve a contrasting color for a selected bin or an important outlier.
Cross-filtering and reading support
Let users select a bar to cross-filter related visuals. Add a slicer for date, region, or product category when the distribution changes across groups. Use drill-down only when the hierarchy has a meaningful next level. Tooltips can show the range, count, and percentage without overcrowding the chart.
Accessibility, custom visuals, and a repeatable choice
Use readable text, sufficient color contrast, and more than color alone to communicate selection. Provide descriptive titles and useful tooltips.
Choose an AppSource custom visual when a built-in chart cannot express the required statistical view, such as density or a box plot. Review its source, permissions, performance, and accessibility before using it.
Use this process:
- State the question: “How are values spread?”
- Identify the numeric field and population.
- Choose bin width and a count or percentage.
- Check for misleading scale, order, and filters.
- Test interactions and accessibility.
- Prefer the built-in visual unless a custom visual adds necessary insight.
Exercise
A price chart has 30 alphabetically sorted ranges and several colors. What should you change first?
Show answer
Reduce or reconsider the bin count, sort ranges numerically, and use one consistent color unless color encodes a necessary category.