From the course: Power BI: Integrating AI
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Using the LINEST DAX function - Power BI Tutorial
From the course: Power BI: Integrating AI
Using the LINEST DAX function
- [Instructor] We can more efficiently calculate linear regression model coefficients and statistics with the help of DAX functions, like LINEST and LINEST X. We can also use these functions to calculate multiple regression with more than one independent variable in addition to linear regression with a single independent variable. The LINEST function as two required input parameters with the dependent variable going to the expression first, followed by the independent variables. We can run multiple regression models by adding additional independent variables into the expression after that. Let's first create a new calculated table that we'll call Linear Regression, where we'll set it equal to the LINEST function. We'll then input the High Temperature field as our first function parameter representing the dependent variable, and we'll use the field for low temperatures as our independent variable input, and notice we're referencing columns here. If we navigate to the data view, we can…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Calculating linear regression coefficients7m 20s
-
(Locked)
Checking outputs for regression models3m 14s
-
Making predictions for regression models3m 40s
-
(Locked)
Calculating residuals5m 22s
-
(Locked)
Using the LINEST DAX function2m 57s
-
(Locked)
Utilizing the LINESTX DAX function7m 28s
-
(Locked)
Creating a polynomial regression model7m 12s
-
(Locked)
Calculating outliers7m 49s
-
(Locked)
Using parameters in regression models5m 48s
-
(Locked)
-
-