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

Scatter plots with user defined lines

Hi, is it possible to define a function (e.g. y = ax+b) to visualize scatter plots and lines charts, as example below?

 

3 REPLIES 3
dedelman_clng
Community Champion
Community Champion

You may want to look into R or Python visuals that can do what you are asking.

e17aguilar
Frequent Visitor

Hi!

 

I think it's not possible with default Scatter Chart provided by power BI. 

 

I've used the line shapes over the Scatter Chart to have a representation of what are asking. Of course, it is a fixed line over the chart, it won't resize when you change your data, but it works for me. 

 

Power BI shapes.PNG

 

It's an idea. I hope it helps. You will obtain something like this:

Line shapes over scatter chart.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Kind regards,

 

Ernesto

Anonymous
Not applicable

Thanks Ernesto, unfortunatelly I am looking for something related with axis configuration.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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
Users online (3,828)