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
Chanleakna123
Post Prodigy
Post Prodigy

Linear Regression

HI all , 

 

i really would like to have some analysis over the linear regression between these both. I wanna understand how these 2 lines will be cross each other  in the future. Can you please give the suggestion what kind of linear regression dax we should use ? 

7FECE1AB-55BF-48E6-BCD3-21175D74F73E.jpeg

1 ACCEPTED SOLUTION
v-xiaosun-msft
Community Support
Community Support

Hi @Chanleakna123 ,

 

According to your description, I suggest that you can go to ‘Analytics’ tab below the visualization and click on ‘Trend line’ again click on ‘Add’ to add a trend line. This line is shown the correlation between two values.

vxiaosunmsft_0-1666946108572.png

 

Or you can refer to the following articles which has a great idea about linear regression and may be helpful to you.

Correlation, Seasonality and Forecasting with Powe... - Microsoft Power BI Community

Linear Regression In Power BI (c-sharpcorner.com)

 

Best Regards,
Community Support Team _ xiaosun

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
v-xiaosun-msft
Community Support
Community Support

Hi @Chanleakna123 ,

 

According to your description, I suggest that you can go to ‘Analytics’ tab below the visualization and click on ‘Trend line’ again click on ‘Add’ to add a trend line. This line is shown the correlation between two values.

vxiaosunmsft_0-1666946108572.png

 

Or you can refer to the following articles which has a great idea about linear regression and may be helpful to you.

Correlation, Seasonality and Forecasting with Powe... - Microsoft Power BI Community

Linear Regression In Power BI (c-sharpcorner.com)

 

Best Regards,
Community Support Team _ xiaosun

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

 

 

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.