The Tableau Grouped Bar Chart, also called side-by-side bars, is very useful for comparing data side by side visually. In this article, we will show you how to create a Grouped Bar Chart in Tableau with an example.
For this Tableau Grouped Bar Chart demo, we will use the Sample – Superstore Data Source.
Grouped Bar Chart in Tableau Example
To create a Grouped Bar Chart, First, Drag and Drop Profit from Measures to Rows Shelf. Since it is a Measure value, Profit will aggregate to the default Sum. Once you drag them, Bar Chart will generate by Tableau.
Before this, please refer to the following links to check the remaining bar charts.
- Gradient Bar Chart
- Progress Bar Chart
- Rounded Edges Bar Chart
- Side-by-Side Bar Chart
- Stacked Bar Chart
Next, Drag and Drop the Segment from Dimension Region to Column Shelf. Once you drag them, a proper Bar Chart will generate, as shown below.
In this example, we want to group Sub-categories by Segments. So, we are dragging Sub-category from the Dimension Region to Columns Shelf. Now you can see a grouped bar chart. Let me change this to a properly Grouped Bar chart.
To do so, Please expand the Show Me window and select the Side-By-Side Bar Chart from it.
Once you choose the Side-by-side Bar Chart from the Show Me window, Grouped Bar Chart will be displayed, as shown in the below screenshot.
Create a Grouped Bar Chart in Tableau Example 2
In this example, we want to compare Sales and profit using side-by-side bars. So, Drag and Drop the Sub-category from the Dimension region to Columns Shelf and Sales from the Measures Region to the Rows Shelf.
Next, Drag and Drop one more measure value, i.e., Profit from Measures Region to Rows Shelf. Since it is a Measure value, Profit is aggregated to the default Sum.
To create a Grouped Bar Chart, Please expand the Show Me window and select the Side-By-Side Bar Chart from it
Now you can see the Grouped bar Chart comparing two measures
Add Data labels
To add data labels to Grouped Bar chart in Tableau, please click on the Show Mark Labels button in the Toolbar.
Grouped Stacked Bar Chart
You can convert the existing Grouped Bar Chart to a Stacked Group. Let me add Segments to the Colors shelf.