cancel
Showing results for
Did you mean:
Helper V

## Linear regression Example

Hi guys! Fine?

Can someone give me one example using Linear Regression in Power BI??

I found this topic but i didnt understand very well... i think one example will help a lot of users here!

@Greg_Deckler
http://community.powerbi.com/t5/Desktop/Simple-Linear-Regression-with-DAX/m-p/9272#M1736

Many Thanks!

1 ACCEPTED SOLUTION
Super User

I actually wrote a blog article on it here:

https://community.powerbi.com/t5/Community-Blog/Correlation-Seasonality-and-Forecasting-with-Power-B...

Become an expert!: Enterprise DNA
External Tools: MSHGQM
Latest book!:
Learn Power BI 2nd Edition
3 REPLIES 3
Regular Visitor

Hello.

3 years late, but just found out a website that provides a very simple solution to this problem, for DAX beginners.

https://xxlbi.com/blog/simple-linear-regression-in-dax/

Regards.

Super User

I actually wrote a blog article on it here:

https://community.powerbi.com/t5/Community-Blog/Correlation-Seasonality-and-Forecasting-with-Power-B...

Become an expert!: Enterprise DNA
External Tools: MSHGQM
Latest book!:
Learn Power BI 2nd Edition
Helper V

Hi @Greg_Deckler, fine?

Hello, Sorry but I did not quite understand your example, it seems to be a lot more complex than I imagined.

I just need to analyze past sales of sales to estimate future sales.

I noticed that other BI tools are simpler to do this calculation, I did a test on the tableau and it even applies the linear regression formula.

Can you tell me how I can do this? I use an ODBC connection and I contain a sales table with date field, sales value ...

Announcements

#### Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

#### Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

#### What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.