Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Tableau
  3. Question
Tableau

Can I create a stacked bar chart in the dual-axis?

Asked by James Leeming Dec 10, 2019 1.6K views 1 answer
Share

Your answer

1 Answer

Asutosh Jha JanBask Expert Latest answer

Answered on Nov 9, 2019

As we need to create a stacked bar chart in dual-axis and so consider that we are looking to show yearly sales which should be scattered on category and profit trend.

To do that first drag order date and sales which should be bar chart and scattered on category as below-


Then drag the profit after-sales and select dual-axis and also change the marks of profit as line chart and change color accordingly so that it will be visible.


Now as don’t want the profit axis to be scattered and so we can remove the category and measure names shown from the color shelf. This will make the desired result like below-



Was this helpful?

More Tableau discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Tableau Blogs

Guides, tips and career advice on Tableau from JanBask experts.