Daniil
8 years agoKudo Kingpin
Simple Linear Regression
This measure allows you to predict dependent values Y from independent values X.
NAME:
Simple linear regression
DESCRIPTION:
Estimate Y values based on X values.
PARAMETERS:
N...
Upendoon
6 years agoRegular Visitor
Hi Daniil,
I'm trying to find the slope of a graph comparing 2 pollution datasets. I altered your measure to do this. The measure works well until it comes to summing the X^2 and XY values. The multiplication doesn't work and this affects the slope calculation.
What could be causing this problem?
PS: I'm very inexperienced with Power BI, so forgive me if this is a stupid question related to SUM and SUMX.