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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
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.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.