Mastering Tableau: Create a 100-Stacked Bar Chart

Mississauga Jul 01, 2026

Creating a 100 stacked bar chart in Tableau can be a powerful way to visualize and compare data across multiple categories. This guide will walk you through the process, from data preparation to finalizing your chart.

Bar Charts | AnyChart Gallery
Bar Charts | AnyChart Gallery

Before we begin, ensure you have Tableau Desktop installed and that you're familiar with its basic features. We'll be using Tableau version 2020.3 or later for this tutorial.

How to Create a 100% Stacked Bar Chart with Totals in Excel?
How to Create a 100% Stacked Bar Chart with Totals in Excel?

Data Preparation

To create a 100 stacked bar chart, you'll first need to prepare your data. This typically involves cleaning, transforming, and aggregating your data into a suitable format. For this example, let's assume you have a dataset containing sales data for different products and regions over time.

Tableau tip: How to sort stacked bars by multiple dimensions
Tableau tip: How to sort stacked bars by multiple dimensions

Your data should be structured with the following fields: Category (e.g., Product or Region), Sub-Category (if applicable), Measure (e.g., Sales), and Date. Ensure your data is sorted by Category, Sub-Category, and Date.

Data Cleaning and Transformation

Stacked Bar Chart Maker – 120+ stunning chart types
Stacked Bar Chart Maker – 120+ stunning chart types

Before creating your chart, clean your data by removing any duplicates, null values, or outliers that could skew your results. Use Tableau's data cleaning tools to handle this efficiently.

Next, transform your data as needed. For a stacked bar chart, you'll typically want to aggregate your data by Category and Sub-Category. Right-click on the Measure field, select 'Quick Table Calculation', then choose 'Sum'.

Creating Calculated Fields

How to Create a 100% Stacked Bar Chart in Excel?
How to Create a 100% Stacked Bar Chart in Excel?

To create a 100 stacked bar chart, you'll need to calculate the percentage contribution of each sub-category to its parent category. Right-click in an empty space on the Fields pane, select 'Create Calculated Field', and enter the following formula:

SUM([Sales]) / SUM([Total Sales]) * 100

Replace 'Sales' with your measure field name and 'Total Sales' with the total sum of your measure field. This calculation will give you the percentage contribution of each sub-category to its parent category.

the most popular social media platforms
the most popular social media platforms

Creating the 100 Stacked Bar Chart

Now that your data is prepared, it's time to create your chart.

Tableau Bar Chart - Learn to Create 4 Variants of Bar Charts in Tableau
Tableau Bar Chart - Learn to Create 4 Variants of Bar Charts in Tableau
Stacked Bar Chart | Bar Charts
Stacked Bar Chart | Bar Charts
Understanding Stacked Bar Charts: The Worst Or The Best? — Smashing Magazine
Understanding Stacked Bar Charts: The Worst Or The Best? — Smashing Magazine
Bar graph project
Bar graph project
Tableau Tip Tuesday: How to Display KPIs Next to Bars
Tableau Tip Tuesday: How to Display KPIs Next to Bars
a bar chart showing the number of people who have died in bed since 2009 to 2013
a bar chart showing the number of people who have died in bed since 2009 to 2013
Stock Bar Chart
Stock Bar Chart
Stacked Bar Chart Alternatives - Peltier Tech
Stacked Bar Chart Alternatives - Peltier Tech
Offerings from the Tableau Bar Chart Menu | InterWorks
Offerings from the Tableau Bar Chart Menu | InterWorks
how to make 100 stacked bar chart in tableau
how to make 100 stacked bar chart in tableau
6 Advanced Visualizations in Tableau | Towards Data Science
6 Advanced Visualizations in Tableau | Towards Data Science
Stacked Column Chart Template for Budgets | Moqups
Stacked Column Chart Template for Budgets | Moqups
the bar chart shows how many people are using their cell phones
the bar chart shows how many people are using their cell phones
Create a Stacked Column Chart with Total in Microsoft Excel
Create a Stacked Column Chart with Total in Microsoft Excel
Bar Chart Basics: Visualize Your Data with Clarity
Bar Chart Basics: Visualize Your Data with Clarity
How to make bar charts more interesting in excel
How to make bar charts more interesting in excel
a bar chart with the text multiple series 3d bar chart on it, and an image of
a bar chart with the text multiple series 3d bar chart on it, and an image of
Tableau 101 - Create a Rounded Bar Chart and a Bar-in-Bar Chart in Tableau
Tableau 101 - Create a Rounded Bar Chart and a Bar-in-Bar Chart in Tableau
Bar Chart (Vertical) | Data Viz Project
Bar Chart (Vertical) | Data Viz Project
Tableau: a dot plot and a \
Tableau: a dot plot and a \

Drag and drop your Category field to the Columns shelf, your Sub-Category field to the Rows shelf, and your Measure field to the Text shelf. Your chart should now display as a table.

Stacking the Bars

To stack the bars, right-click on the Measure field on the Text shelf, select 'Dual Axis', then click 'OK'. This will create a second axis for your chart.

Right-click on the second axis, select 'Sync with', then choose the first axis. This will ensure both axes share the same scale. Now, drag your calculated percentage field to the second axis's Text shelf. Your chart should now display as a stacked bar chart.

Formatting the Chart

To make your chart easier to read, format it as follows:

  • Right-click on the color legend, select 'Edit Colors', then choose a color palette that suits your data.
  • Right-click on the axis, select 'Format', then adjust the number format to display as a percentage (e.g., 0%).
  • Right-click on the chart title, select 'Edit Title', then enter a clear and concise title for your chart.

Congratulations! You've now created a 100 stacked bar chart in Tableau. This chart type is particularly useful for comparing the composition of different categories and understanding the relative importance of each sub-category.

Remember, the key to creating effective visualizations is to keep your charts simple and easy to understand. Use color, labels, and titles to guide your audience and help them draw insights from your data.

Now that you've mastered the 100 stacked bar chart, why not explore other chart types in Tableau? The possibilities are endless, and each new chart you create will deepen your understanding of your data and improve your visualization skills.