


Your data is linear if the pattern in its data points resembles a line. If you want, you can display this value on your chart.Ī linear trendline is a best-fit straight line that is used with simple linear data sets. When you fit a trendline to your data, Graph automatically calculates its R-squared value. Trendline reliability A trendline is most reliable when its R-squared value is at or near 1. The type of data you have determines the type of trendline you should use. It should also join directly to the fact where actuals reside, not join through another dimension.When you want to add a trendline to a chart in Microsoft Graph, you can choose any of the six different trend/regression types. 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.

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.
