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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
pingster
Frequent Visitor

Draw lines in scatter chart

Hi fellow Power users,

 

I need to recreate this chart in PowerBI to monitor exceedances of 2 parameters. Ideally there is an viz for combined scatter and line chart. The closest I got to was drawing constant lines on both axes in the scatter chart but it looks too messy (see below). Is there a way to achieve this ideal look in PowerBI?

Ideal look 2.png

Current look 2.png

1 ACCEPTED SOLUTION

I had to use a custom python plot, specifically the axs.add_patch(Rectangle()) method in matplotlib.

View solution in original post

5 REPLIES 5
Yaffle505
New Member

Did you get a resolution to this?  I would like to get the same effect.

I had to use a custom python plot, specifically the axs.add_patch(Rectangle()) method in matplotlib.

Anonymous
Not applicable

Hi use analytics feature to achieve your goal. (just next to you format section)

 

ScatterPlot Lines.PNG

 

i was actually looking how to draw line in scatter chart. thanks

Thanks @Anonymous  for your response.

 

Yes I have gone to Analytics. That was how I generated the second screenshot in my initial post, which is too messy to read. I need the lines to NOT span from min to max, so that I can draw a 'box' instead like the ideal look that I generated in Excel as per the first screenshot.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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