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
pollyog
Advocate I
Advocate I

Create diagonal line in chart

Hi everyone!

 

Is there a way that I could create a automatic diagonal line in my chart line? I've already have a line chart with calculated values, but I need to insert a reference line that is diagonal. I've tried to create one table with this diagonal values depending on the size of Y and X-axis but I'm having some difficult.

 

Thanks!

2 REPLIES 2
Anonymous
Not applicable

If you have this issue, please upvote the feature request
Diagonal Lines on Scatterplot

Anonymous
Not applicable

@pollyog,

You can create dynamic reference lines described in this article but not diagonal line.

As a workaround, you can use Shapes as shown in the following screenshot, and then change the rotation of the shape. Meanwhile, you can submit a feature request for this issue in Power BI ideas forum: https://ideas.powerbi.com/forums/265200 .

1.JPG

Regards,
Lydia

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.