Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Varan_15
Helper II
Helper II

stacked bar chart view issue

Hi All,

 

I have used line and stacked column chart by splitting 100 %  its' working fine. But i want to show the total number value on top of the bar chart each category. when we used line and reduced "stroke width" it's coming values inside bar chart.

 

Kindly suggest

ddfg.PNG

 

highlighted total values should show on top.

3 REPLIES 3
v-jianboli-msft
Community Support
Community Support

Hi @Varan_15 ,

 

According to my knowledge, since your line graphs don't have consistent values, it's hard to keep them consistent at the top of a stacked bar chart, perhaps you could consider using a single stacked bar chart and adding text boxes to them where you can enter the sum of each data, which might achieve the result you want.

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-jianboli-msft
Community Support
Community Support

Hi @Varan_15 ,

 

Based on  your description, I have created a simple sample:

vjianbolimsft_0-1673922727622.png

Usually your y-axis and second y-axis are opposite each other, which causes your line chart to overlap with the stacked bar chart. You can make the line chart above the bar by adjusting the interval between the two y-axes, like this:

vjianbolimsft_1-1673923294574.png

Final output:

vjianbolimsft_2-1673923311197.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-jianboli-msft ,

 

Thanks for your reply, but still there is a gap between barchart and line..  the value should be on barchart outside end.

 

Thanks,

Varan

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.