10
Ashley Ohmann Business Intelligence Services February 20, 2013 Predictive Analysis in Tableau Desktop V8

Predictive Analysis in Tableau Desktop V8

Embed Size (px)

DESCRIPTION

Predictive Analysis in Tableau Desktop V8. Ashley Ohmann. Business Intelligence Services. February 20, 2013. Why Can It Do?. Tableau’s new forecasting functionality creates estimations of future values of a measure based on historical values. The user can - PowerPoint PPT Presentation

Citation preview

Page 1: Predictive Analysis in Tableau Desktop V8

Ashley OhmannBusiness Intelligence ServicesFebruary 20, 2013

Predictive Analysis in Tableau Desktop V8

Page 2: Predictive Analysis in Tableau Desktop V8

Confidential Business Intelligence Services, February 20, 2013

Why Can It Do?

• Tableau’s new forecasting functionality creates estimations of future values of a measure based on historical values.

• The user can – Identify the timeframe over which to forecast– Identify the granularity of the forecast– Adjust the forecast model to ignore seasonality/trends– Easily report on forecast accuracy and quality– Describe the forecast model with quality statistics– Resolve forecast errors

Page 3: Predictive Analysis in Tableau Desktop V8

Confidential Business Intelligence Services, February 20, 2013

Requirements for a Successful Forecast

• A forecast needs two basic components: a measure, and a continuous date field.

– A continuous date is one that has an infinite number of possible values. For example, the Order Date field in Superstore Sales has possible values from year to individual day

• The measure must be a basic aggregation—forecasts can’t be calculated for table calculations

• At least one complete cycle of the data that you want to forecast—for example, if you want to forecast data for one year, you need at least one year—preferably two or more—of data

Page 4: Predictive Analysis in Tableau Desktop V8

Confidential Business Intelligence Services, February 20, 2013 4

How to Create the Forecast

• Creating a forecast is as simple as right-clicking on the visualization.• In our example, we’ll use month of Order Date and sum of Sales, as

these are the same that Tableau uses in their example– Right-click and drag Order Date from Dimensions to the Columns

shelf, and select MY as the dimension level at which to aggregate– Confirm that it’s continuous by right-clicking the pill– Drag Sales from the Measures pane to the Rows column. (The

visualization defaults to a blue line graph.)– Right-click in the visualization, and under the Forecast option,

select Show Forecast.– (Output is on the next slide.)

Page 5: Predictive Analysis in Tableau Desktop V8

Confidential Business Intelligence Services, February 20, 2013

Month, Year of Order Date

January 2010 February 2010March 2010

April 2010 May 2010 June 2010 July 2010August 2010

September 2010October 2010

November 2010 December 2010January 2011 February 2011

March 2011April 2011 May 2011 June 2011 July 2011

August 2011

September 2011October 2011

November 2011 December 2011January 2012 February 2012

March 2012April 2012 May 2012 June 2012 July 2012

August 2012

September 2012October 2012

November 2012 December 2012January 2013 February 2013

March 2013April 2013 May 2013 June 2013 July 2013

August 2013

September 2013October 2013

November 2013 December 2013January 2014 February 2014

March 2014April 2014 May 2014 June 2014 July 2014

August 2014

September 2014October 2014

November 2014 December 2014

$0

$100,000

$200,000

$300,000

$400,000

$500,000

$600,000

$700,000

$800,000

$900,000

$1,000,000

$1,100,000

$1,200,000

$1,300,000

$1,400,000

$1,500,000

$1,600,000

Sales

Page 6: Predictive Analysis in Tableau Desktop V8

Confidential Business Intelligence Services, February 20, 2013

What Is This Telling Us?

• In order to understand what Tableau has estimated and why, we need to look at the Forecast Options, which accessible under the Forecast menu.

• Tableau automatically selects a forecast period based on the highest dimension level of historical data, which, in this case, is the yearly level.

– It’s easy to change the forecast period to a set number of years or a set point in the future.

• The user also can select the date level at which to aggregate and opt to fill in miss values with zeroes.

Page 7: Predictive Analysis in Tableau Desktop V8

Confidential Business Intelligence Services, February 20, 2013

Forecast Model

• The forecast model is the method with which Tableau creates the forecast.

• Tableau automatically selects the best model possible. Options include trend and seasonality, trend only, seasonality only, automatic without seasonality, and no trend or seasonality.

• This functionality allows the user to select the model that they know is the best fit for their data.

Page 8: Predictive Analysis in Tableau Desktop V8

Confidential Business Intelligence Services, February 20, 2013

Determining Quality and Applicability

• Without understanding the context of the forecast, an estimate isn’t very useful. • Describing the forecast is another option under the Forecast menu, and it lists

the components of the forecast, along with the time period, effect of the models used to compute it, and the quality of the forecast.

Page 9: Predictive Analysis in Tableau Desktop V8

Confidential Business Intelligence Services, February 20, 2013

Describing the Forecast Model• The forecast model specifies which components (level, trend, or season) are

relevant factors for the forecast, and each of those either has no impact or an additive impact, which means that the component contributes to the overall forecast. (Level is always additive.)

• The model description also includes quality metrics and smoothing coefficients, the latter of which

Page 10: Predictive Analysis in Tableau Desktop V8

Confidential Business Intelligence Services, February 20, 2013

How Do We Know How Good the Forecast is?• Caveats for the analyst:

– Tableau doesn’t know how inherently predictable, or normal, your data is.– Forecast values will not all be equally probable

• Quality (closer to 100 is better) and precision (in this case, in currency and percent) can be added to the tooltip—or into a dual axis chart—by dragging the measure to the Level of Details shelf and then right-clicking to identify which forecast value to show.

• The forecast will only ever be as good as your data, and the more you have of it, the better the forecast should be.

• The forecast can’t account for external influences on your data, though, but you can factor those into your historical data to build more complex forecasting models.

• For more information on forecasting, check out• http://beta.tableausoftware.com/qsg/forecasting.pdf (username: v8beta password:

kraken• http://beta.tableausoftware.com/videos/Forecasting/Forecasting_Tableau_8_Beta.html

(use the username and password above)• http://onlinehelp.tableausoftware.com/v8.0/pro/online/en-us/help.html#forecasting.html