This is difficult in Tableau.
By using the calculations described in How to Calculate a Linear Regression Line in Tableau (This is a GREAT tutorial!),
the calculation of b and c are possible.
The problem is that, the calculation of b and c is based on x range 2-6, while the prediction is necessary for the full set of x.
This is as far as I can go.
Let's wait for jump-ins.
linear_regression.twbx 30.3 KB