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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
DRobson
Frequent Visitor

line and clustered bar chart in power bi.

Hi all, 
I have a line and clustered bar chart in power bi.
The bar chart axis is in percentages, whereas the line is numerical.
I want to add another line to the chart, but to the same axis as the bar chart (It will represent a target %)
Is this possible with the default visual, or do I need a custom visual? If so, can anyone reccommend anything?

1 ACCEPTED SOLUTION
DRobson
Frequent Visitor

For anyone needing a solution here, I reccommend the custom visual: Dual Y axis combo chart.

View solution in original post

6 REPLIES 6
DRobson
Frequent Visitor

For anyone needing a solution here, I reccommend the custom visual: Dual Y axis combo chart.

v-zhangti
Community Support
Community Support

Hi, @DRobson 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

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

Hi is a screenshot from the table I want to re-create from excel:
The chart is a clustered column chart showing the min and max values of a data column per week.
There is also a line axis showing the average per week. As you can see, all three lie on the same axis. If I use the line and clustered column visual in power bi, the line gets added to its own axis. does anyone know a good custom visual alternative here?

DRobson_0-1700214846551.png

 

DRobson
Frequent Visitor

I don't suppose there is a 3rd party one you recommend?

dk_dk
Super User
Super User

Normally you would be able to add a constant line to a bar chart from the Analytics menu, but for some reason the combined line an bar chart only allows error bars to be added, not constant lines.

dk_dk_0-1699981709149.png

If your target is very static and constant across the categorical axis (the bars) thne you could cheat it by forcing the y axis to always start at 0% and end at 100%, and then just adding a horizontal line graphic in the correct place. Otherwise you probably would need a 3rd party visual.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





DRobson
Frequent Visitor

Do you know a third party visual I can use?

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors