The new DAX function LINEST() is a new powerful tool in your Data Analysis skillset. It is the easiest way to do Regression Analysis. And Regression Analysis is a fundamental concept in Data Science.
LINEST() function uses the Least Squares method to calculate a straight line that best fits the given data, then returns a table describing the line. The equation for the line is of the form: y = Slope1*x1 + Slope2*x2 + ... + Intercept.
While we had this function in Excel for many years, only with this month update we have it in Power BI.
Please watch my latest video on my YouTube channel https://www.youtube.com/@Data.Analytics.Central where I present how to use this new function:
Here is the link to the pbix file: https://drive.google.com/file/d/1VLkYGLA_J16Qtze5S6ThEUdffX1f7qmJ/view?usp=share_link The dataset used in this tutorial is called Salary_Data from Kaggle.com
#dax #powerbi #linest #dataanalysis #businessintelligence #linearregression #regressionanalysis