0
0
Tableaubi_tool~5 mins

Percent of total in Tableau - Step-by-Step Guide

Choose your learning style9 modes available
Introduction
This feature helps you show how much each part contributes to the whole. It solves the problem of understanding proportions in your data, like what percent of total sales each product has.
When you want to see what percent each region contributes to total sales on a dashboard
When you need to compare each product's share of total revenue in a bar chart
When showing the percentage breakdown of expenses in a pie chart
When analyzing the share of each salesperson's sales compared to the team total
When you want to highlight the contribution of each category in a stacked bar chart
Steps
Step 1: Open your Tableau workbook and go to the worksheet with your data
- Tableau workspace
You see your data fields and current visualization
💡 Make sure your data is connected and loaded
Step 2: Drag the measure you want to analyze (e.g., Sales) to the Rows or Columns shelf
- Rows or Columns shelf
A basic chart showing total sales appears
💡 Use a bar chart for clear percent of total visualization
Step 3: Drag the dimension you want to break down by (e.g., Region) to the opposite shelf or Color on Marks card
- Columns shelf or Marks card > Color
The chart splits sales by each region
💡 This groups your data for percent calculation
Step 4: Right-click the measure on the shelf and select 'Quick Table Calculation' > 'Percent of Total'
- Measure pill on Rows or Columns shelf
Values change to show each part's percent of the total
💡 Tableau automatically calculates percent of total
Step 5: Click the measure pill again and choose 'Edit Table Calculation' to adjust direction if needed
- Measure pill > Edit Table Calculation
You can set calculation to compute across table, down, or specific dimensions
💡 Adjust this to get correct percent based on your layout
Step 6: Add labels by dragging the measure to Label on the Marks card
- Marks card > Label
Percent values appear on the chart for easy reading
💡 Format labels as percent for clarity
Before vs After
Before
Bar chart shows total sales by region with raw sales numbers like 50000, 30000, 20000
After
Bar chart shows sales by region as percentages like 50%, 30%, 20% of total sales
Settings Reference
Quick Table Calculation
📍 Right-click measure pill on Rows or Columns shelf
Apply common calculations quickly to your data
Default: None
Edit Table Calculation
📍 Right-click measure pill > Edit Table Calculation
Customize how the percent of total is calculated across your data
Default: Table Across
Label Formatting
📍 Marks card > Label > Format
Display percent values clearly on the visualization
Default: Automatic
Common Mistakes
Not setting the correct direction in 'Edit Table Calculation'
Percent of total calculates incorrectly if direction does not match data layout
Use 'Compute Using' options to match how your data is arranged, e.g., Table Across for horizontal layout
Applying percent of total on a dimension instead of a measure
Percent of total only works on numeric measures, not categories
Always apply percent of total on a measure like Sales or Quantity
Summary
Percent Of Total shows each part's share of the whole in your data.
Use Quick Table Calculation to apply it easily on measures.
Adjust calculation direction to match your data layout for accurate results.