How to Display Total of Each Bar on Stacked Bar Graph
Published: 12 Mar 2020 Last Modified Date: 12 Mar 2020
Question
How to display the total of each car on a stacked bar graph.
For example:
Environment
Tableau Desktop 2019.2.4
Windows 10
Answer
This can be done using reference line. For detailed steps, please find the attached video "Display Total on Stacked Bat Chart.mp4"
Steps 1. Right-click on the Profit-axis and select Add Reference Line. 2. In reference line editing window, select Per Cell for Scope, SUM(Profit), Total for Line, and Line: None for Formatting as shown below.
Thank you for providing your feedback on the effectiveness of the article.