You could peruse the following...
If this answers your question please mark it as correct so that others may find it in their search for a solution in the future. Best, Don How to Mark an answer as Correct
We would love to hear your feedback on your Tableau Community Forums experience.
Please take this 5 minute survey.
Hello again Daniel,
Looks like I stumbled upon a similar problem (not a duplicate) as I have just solved the other
one asking for the Slope & Y-intercept. I was not sure if it is your earlier post as there may be
several persons with the same first and last name.
Anyway, do check out the post and you will find a really cool solution that enables you to
calculate the slope, y-intercept and only displays selected trendlines (for specific products)
Hope this helps.