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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
fpennisi17
Helper III
Helper III

Reference lines with slope in scatter plot

Hi,

it is somehow possible to add one or more reference lines with a slope (not parallel to X or Y axis) to a scatter plot, similar to the image below?

 

XY with references.png

I would like to understand, at glance, how many points of the scatter fall in a sector.

1 ACCEPTED SOLUTION
markward01
New Member

One solution is to find a .PNG image online of a perfect 45 degree line with a white background.  Then, use this image as your plot area background with an "Fit" image style.  Not a perfect solution, but this displays a line with a slope equal to 1.  Example:

markward01_0-1695158270395.png

 

View solution in original post

4 REPLIES 4
markward01
New Member

One solution is to find a .PNG image online of a perfect 45 degree line with a white background.  Then, use this image as your plot area background with an "Fit" image style.  Not a perfect solution, but this displays a line with a slope equal to 1.  Example:

markward01_0-1695158270395.png

 

parry2k
Super User
Super User

@fpennisi17 unfortunately, if it is not in the analytical pane then there is no way to add lines (afaik).

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@fpennisi17 check the analytics pane and I think that is where you can add lines.

 

Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

This is not the case.

The only available options I have are:

- Tendency line, which represents a linear interpolation

- Reference parallel to X axis

- Reference parallel to Y axis

- Symmetric shadowing, which provides only two areas and I cannot control the slope

 

This is why I was asking...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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