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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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