Book Image

Learning Tableau

By : Joshua N. Milligan
Book Image

Learning Tableau

By: Joshua N. Milligan

Overview of this book

Table of Contents (18 chapters)
Learning Tableau
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
8
Adding Value to Analysis – Trends, Distributions, and Forecasting
Index

Forecasting


As we've seen, trend models make predictions. Given a good model, you expect additional data to follow the trend. When the trend is over time, you can get an idea about where future values may fall. However, predicting future values often requires a different type of model. Factors such as seasonality can make a difference not predicted by a trend alone. Starting with version 8.0, Tableau includes built-in forecasting models that can be used to predict and visualize future values.

To use forecasting, you'll need a view that includes a date field or enough date parts for Tableau to reconstruct a date (for example, a Year and a Month field). You may drag and drop Forecast from the Analytics tab, navigate to Analysis | Forecast | Show Forecast from the menu, or right-click on the view's pane and select the option from the context menu.

Here, for example, is the view of the population growth of Afghanistan and Australia with forecasts shown over time:

Note that when you show the forecast...