---
schema_version: "1"
id: 43d54dcde8e60704197a56cb30ff28fa938ec1198229ad09103c984b2bc087ac
title: Stacked Bar Charts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/chart_bar_stacked.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.chart_bar_stacked.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0d3f6a6419547934ef375fc842882cfe28c443f17ca8a633b5293ce9cab4d9ec
description: Use a stacked bar chart when you have multiple groupings and are interested in the proportions between values in each grouping, as well as each grouping's total.
products:
  - Cross Cloud
release: "264"
---
# Stacked Bar Charts

Use a stacked bar chart when you have multiple groupings and are interested in the proportions between values in each grouping, as well as each grouping's total.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Group</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

![Horizontal bar chart, stacked icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-analytics-264-0-0-production-enus/295fead5-b71d-4e1c-9886-4af4d53400b6/analytics/images/chart_barstk_sml.png)

For example, to compare the status of leads by campaign in a report, and also to compare the totals for each status, set record count as the X-axis, status as the Y-axis, and campaign as the Groupings value. The chart displays a single bar for each status, broken down by campaign, with each campaign shown in a different color.

The proportion of each campaign in each status is easy to compare, as are the totals for each status, but comparing a single campaign’s contribution to different statuses, or to the total, may be difficult.