Forum Discussion
JAnders
8 years agoNew 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!
akchandarana
3 years agoNew 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-linear-regression-trendline-with-a/ba-p/2405245