Stacked bars visual
Shows the total of each category and the parts that make it up.
| Category | Comparison |
When to use it
- Seeing the total and the breakdown at once: revenue by month, split by product line.
When to avoid it
- Comparing the parts with each other precisely: only the bottom part has a common baseline.
- Many parts: above five or six, the colors get confusing.
Data
Under Data, use Reads from to choose the analysis node that provides the table. Then:
| Field | What it is |
|---|---|
| Dimension | The field with the axis's categories. |
| 2nd dimension (color) | Splits the chart by a second field, which becomes the color. |
| Measure | The number shown, with its Aggregation (sum, average, count). |
| More measures | Each extra measure becomes a series, with its own Aggregation, format and color. |
| Limit | How many categories to show; empty shows all of them. |
| Ignore the period in progress | Leaves out the month, quarter or year that hasn't closed yet, so it doesn't look like a drop. |
Its own settings
| Option | What for |
|---|---|
| Value labels | Shows the number on each bar or point. |
| Axis maximum | Fixes the axis's maximum; empty leaves it automatic. |
| X-axis labels | They start tilted at 45°; choose straight or vertical. It also controls which labels show when there are many categories. |
| Colors | From the dashboard's theme, single, gradient, list or by value. |
| Legend | Where it goes and whether it shows the values. |
The settings that apply to every visual (number format, interactions, appearance) are in Common settings.
Things to keep in mind
- The 2nd dimension (or the extra measures) defines the parts of each bar.