Forum Discussion
Issue in Stacked column chart
How can I show count of contents of a column as percentage in Y-axis and as a Integer in data labels of the bar in stcked cloumn chart. Pleasee help.
HI Anonymous
You may try this way as below:
Use combo chart: Line and Stacked column chart.
For column part, you could do it same with Stacked column chart.
For line part, you could create a percentage measure.
Then in Format ->Y axis, Disable "Y-axis(Column)" and enable "Show secondary" and change "Position" to "Left".
Regards,
Lin
3 Replies
- AllisonKennedyCommunity Champion
You can play with the data labels and axis settings (especially if you are using the 100% stacked column), or you can use the 'tooltips' feature of the stacked column chart and add the integer value to the stacked column tooltips field in the visualizations pane and the percentage to the value field in the vizualization. If you don't have these in the data table already, you can create them as MEASURES using DAX.
Has this post solved your problem? Please mark it as a solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos.
I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query.
- amitchandakSuper User
Anonymous , refer if this can help https://www.tutorialgateway.org/create-100-stacked-bar-chart-in-power-bi/
- v-lili6-msftCommunity Support
HI Anonymous
You may try this way as below:
Use combo chart: Line and Stacked column chart.
For column part, you could do it same with Stacked column chart.
For line part, you could create a percentage measure.
Then in Format ->Y axis, Disable "Y-axis(Column)" and enable "Show secondary" and change "Position" to "Left".
Regards,
Lin