How to Display the Sales Target Value on Stacked Bar Chart with Reference Line
16 Nov 2022
Last Modified Date:
17 Nov 2022
How to display the sales target value on stacked bar chart with reference line.
When adding the average of target sales as a reference line to a stacked bar chart, it needs to be calculated as a weighted average, not as simple average.
Below is an example using Sample - Superstore data.
1. Create a stacked bar chart.
2. Create a calculated field and enter sales target value.
Monthly Sales Target
pane and drag and drop
to the view.
Did this article resolve the issue?
Thank you for providing your feedback on the effectiveness of the article.
Click here to return to our Support page.
Open new Case
Open a new case
Click here to go to our Support page.
Get detailed answers and how-to step-by-step instructions for your issues and technical questions.
Find and share solutions with our active community through forums, user groups and ideas.
Browse a complete list of product manuals and guides. Available online, offline and PDF formats.
Training and Tutorials
Learn how to master Tableau’s products with our on-demand, live or class room training.
PRINT THIS PAGE
reference line on stacked bar chart.twbx
SUPPORT BY PRODUCT
TOOLS & DOWNLOADS
Download Tableau Desktop & Server
Tableau Online & Public Status
Send Large Files
All Tech Specs
Elite Account Management