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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

2 Y axes

Hi all,

 

I had a question regarding the line chart visual I want to achieve something like this:

Afbeeldingsresultaat voor 2 y axis chart

Two Y-axes in the same line visual, so far I have'nt been able to achieve this. It would be great if someone knew of a way or knew about a custom visual for example.

 

Regards,

L.Meijdam

 

 

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

I am not aware of any custom visual in the store for that. Probably need to look at an R visual.

 

See previous thread:

https://community.powerbi.com/t5/Custom-Visuals-Ideas/Dual-Y-axis-in-Line-chart/idi-p/153593

 

Combo charts can have 2 y-axis but one is a column and one is a line.

 

These are not exactly what you want but you may be able to get there:

https://stackoverflow.com/questions/26727741/how-to-show-a-legend-on-dual-y-axis-ggplot

https://stackoverflow.com/questions/26336827/how-to-align-a-bar-and-a-line-chart-in-ggvis-in-a-dual-...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

Here is a link on how to create a Dual Y-Axis Line Chart using R Visuals in Power BI.

 

https://www.youtube.com/watch?v=sepAWgLOCBDual Axis.jpg

View solution in original post

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

I am not aware of any custom visual in the store for that. Probably need to look at an R visual.

 

See previous thread:

https://community.powerbi.com/t5/Custom-Visuals-Ideas/Dual-Y-axis-in-Line-chart/idi-p/153593

 

Combo charts can have 2 y-axis but one is a column and one is a line.

 

These are not exactly what you want but you may be able to get there:

https://stackoverflow.com/questions/26727741/how-to-show-a-legend-on-dual-y-axis-ggplot

https://stackoverflow.com/questions/26336827/how-to-align-a-bar-and-a-line-chart-in-ggvis-in-a-dual-...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Here is a link on how to create a Dual Y-Axis Line Chart using R Visuals in Power BI.

 

https://www.youtube.com/watch?v=sepAWgLOCBDual Axis.jpg

Anonymous
Not applicable

Hi @Greg_Deckler,

 

It's a shame since it can be pretty convenient, anyway thanks for the links. I voted for the idea in the hope to raise some awareness for it. I will deffinitely look into the other links, thanks for sharing them !

 

Best regards,

L.Meijdam

Did you find a solution for this ? If yes ,could you share with us ?

Anonymous
Not applicable

Hi @d_u_a,

 

I changed my approach on the subject so in the end I did not find/use a solution.

 

Best regards,

L.Meijdam

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.