The Tableau Grouped Bar Chart, also called side-by-side bars, is very useful to compare 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 are going to 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 default Sum. Once you drag them, Bar Chart will generate by the Tableau.
Next, Drag and Drop Segment from Dimension Region to Column Shelf. Once you drag them, 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 proper 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 Show Me window, Grouped Bar Chart will be displayed as shown in 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 Measures Region to 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 aggregated to 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 Grouped Bar Chart
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 Stacked Group. Let me add Segments to the Colors shelf.