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

930    Asked by JamesLeeming in Tableau , Asked on Dec 10, 2019
Answered by Asutosh Jha

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-




Your Answer

Interviews

Parent Categories