Steps to be followed in order to add a stacked bar and line chart:
1. Select all the dimensions and measures you are choosing.
2. firstly make the chart with the ones that you want to add stacked bar.
3. Now add the field that you want to add as a line in row shelf.
4. Choose line instead of bar under marks shelf.
5. Make them dual axis in order to get stacked bar and line chart.