There may be several circumstances where we need to read historical data and to extrapolate this historical data to get an approximate idea of what to expect in the future. These forecasted values can help us in, say, budget planning or even redefining our current strategies.
The forecasting functionality in Tableau uses an built-in statistical model that enables us to estimate future values by extrapolating historical data while also taking trend and seasonality into consideration. Among the various models that are available for forecasting, Tableau uses the exponential smoothing model.
An important point to remember is that there are plenty of external factors that govern the actual data and hence the forecast will give us an approximate idea of what to expect in future. The accuracy of this forecast however will depend on the quality of the historical data.
In order to enable the forecasting functionality in Tableau, let's continue working in our existing workbook and use the Order Date and Profit fields from the Orders data from Sample - Superstore Subset.xlsx
.
Let's see how to do forecasting in Tableau:
Forecasting
.In the previous screenshot, the dark blue line is the actual Profit whereas the light blue line is the estimated Profit. Further, the light blue band is the 95% prediction interval, which can be changed to either 90% or 99%. Refer to the following screenshot:
In the previous example, Tableau is reading our historic data from January 2011 to November 2014 and creating a forecast through December 2015 while looking for potential seasonal patterns every 12 months. In the previous recipe, when we selected the Additive option for Trend and Season, we indicated to Tableau that our business is subject to seasonality. However, if we wish to look for more information, we can select the Describe Forecast… option via Analysis | Forecast in the toolbar. Refer to the following screenshot:
Once we do that, we will get a new dialog box as shown in the following screenshot:
In the previous recipe, we saw how to do a quick forecast. To learn more about the forecasting functionality in Tableau, refer to the following link:
http://onlinehelp.tableau.com/current/pro/desktop/en-us/forecasting.html
3.16.76.138