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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
J3
Frequent Visitor

LINEST DAX multivariate regression

Hola, estoy intentando replicar este caso del articulo https://datakuity.com/2023/03/12/multiple-linear-regression-in-power-bi/ para una regresion multiple, pero me da el siguiente error: 

J3_0-1701953563376.png

¿Como utilizar linest para regresion multiple?

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

Hi @J3 

Did you create it as a calculated column or a measure, after testing , the function will return a table,it returns a table describing the line. you need to create it as a calculated table instead of a column or measure, the link you have offered, it create it as a table, you can refer to the following picture.

vxinruzhumsft_0-1702262565832.png

And you can refer to the following link.

LINEST function (DAX) - DAX | Microsoft Learn

 

Best Regards!

Yolo Zhu

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-xinruzhu-msft
Community Support
Community Support

Hi @J3 

Did you create it as a calculated column or a measure, after testing , the function will return a table,it returns a table describing the line. you need to create it as a calculated table instead of a column or measure, the link you have offered, it create it as a table, you can refer to the following picture.

vxinruzhumsft_0-1702262565832.png

And you can refer to the following link.

LINEST function (DAX) - DAX | Microsoft Learn

 

Best Regards!

Yolo Zhu

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

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors