
MonthYear in my example must have the grain of MonthYear and not be a field in the calendar table.

It MUST be a field with distinct values in the dataset, i.e. The 2nd Order Polynomial dimension has some specific requirements in the current form of the expressions.Please see the variables in the example application. I have not found a comparable function to excel LINEST(Y,x^) so have managed to find some old examples and put together a longhand version. The 2nd Order Polynomial trend is a little more complex than the others.

Therefore the Y values are shown aggregated by the dimension.

Here are some examples of exponential and 2nd order polynomial trend lines with the relationship expressed as a formula in the subtitle.

I spent a little time working through the formulas required to mimic the trend lines that are available in QlikView and currently not available in Qlik Sense without knowing how to write reasonably complex expressions.
