Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
Is there a way to calculate with DAX the linear regression of this:
| Sites | Entity code | Result Moisture | Result aw |
| RCR | 5369 | 8,2 | 0,56 |
| RGU | 5285 | 7,4 | 0,51 |
| RGU | 5071 | 7,8 | 0,48 |
| RFT | 5459 | 6,5 | 0,5 |
| RCR | 5369 | 8 | 0,54 |
| RGU | 5071 | 7,6 | 0,46 |
| RGU | 5285 | 7,9 | 0,55 |
| RCR | 5369 | 7,7 | 0,53 |
x = Moisture results
y = aw results
And for each site/formula, I will use the linear regression calculation to estimate my aw result when moisture = 9,5 % or 10,5 %.
Thanks for your help,
Hervé
Solved! Go to Solution.
does this help at all?
https://www.bluegranite.com/blog/simple-linear-regression-in-power-bi
Proud to be a Super User!
does this help at all?
https://www.bluegranite.com/blog/simple-linear-regression-in-power-bi
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 53 | |
| 42 | |
| 34 | |
| 33 | |
| 21 |
| User | Count |
|---|---|
| 143 | |
| 125 | |
| 100 | |
| 80 | |
| 59 |