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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Trend line - R2, slope and interception

Hi all, 

 

I am trying to get R2, slope and intercept for my dynamic line chart with no sucess. Attached is a screenshot of my report. Yellow are the questions I would love to find out the answser.

 

Few important notes - on the Y axis, I have a field (under Variable). The X axis is a parameter under the ana table. The formula should change depending which Variable is selected (DelAssay, DelMAG or DelTotal) but also depending on the StabTemp slicer. Would be ideal if I can get that numbers either on the plot or as a separate table. Additinally, the prediction of the Y value based on the X value is also needed, but I guess if I know how to get slope and intercept, this should not pose a problem. 

 

Who would imagine that obtaining a simple regression formula will give so much headache in Power BI - or maybe it is just me.

 

Any help is appreciated. 

Capture.PNG

  

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

I have foud a similar post, please refer to it to see if it helps you.

How can I display the slope and y intercept of the... - Microsoft Fabric Community

vrongtiepmsft_0-1706166300080.png

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

I have foud a similar post, please refer to it to see if it helps you.

How can I display the slope and y intercept of the... - Microsoft Fabric Community

vrongtiepmsft_0-1706166300080.png

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.