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
JAnders
New Member

Display the R-Squared Value of a Trend Line

Hello, I am new to Power BI. I'm working on a scatter plot that has a trend line in it. How do I see the R-Squared value for the trend line? Thank you in advance!

4 REPLIES 4
jahiskey
Microsoft Employee
Microsoft Employee

Can someone explain why this is not a built in feature? This seems like it would be a very common need for many people.

akchandarana
New Member

Agree that this should be a simple built-in check-box option when adding a Trend Line to a Scatter Chart. This is the best solution I could find for a single trend line: https://www.c-sharpcorner.com/article/how-to-get-correlation-coefficient-in-power-bi/

or if you need something more dynamic (in DAX): https://techcommunity.microsoft.com/t5/healthcare-and-life-sciences/use-custom-dax-to-create-a-linea...

deldersveld
Resident Rockstar
Resident Rockstar

Nothing built-in at this time. You would have to manually calculate it as a measure.

This is basic Excel Chart formating 101.  Are there plans to add this functionality in BI?  There is already resistance to this product and if the most elemental of statistical values require manual calculations, that's not going to help.

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.