+ All Categories
Home > Documents > Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software...

Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software...

Date post: 25-Jul-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
45
Transcript
Page 1: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support
Page 2: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Welcome

Page 3: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

LOD Is the Key (to asking the right questions)

Ross Bunker

Principal Engineer

Tableau Software

# L O D I S T H E K E Y

Page 4: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Agenda

Why does LOD Matter?

What is LOD?

LOD in Tableau: A History

LOD in Tableau: The Future

Page 5: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Why does LOD matter?

Page 6: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

If you do not know how to ask the right question, you discover nothing.

—W. Edwards Deming

Page 7: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

If Tableau doesn’t let you ask the right question, you discover nothing.

—Me

Page 8: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

What is the Question?

What are the total sales of each product? (Help me see by product type too)

Page 9: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

What is the Question?

What is the salary of employees in each call center region?

Page 10: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

The Replication Problem…

What is the salary of employees in each call center region?

Page 11: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

What is LOD?

Page 12: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Totally Aggregated

Totally Disaggregated

(granularity of data source -

cannot go lower)

Dimensions determine the granularity of your

measurements. They are the characteristics

of the objects you are measuring

Gra

nu

larity

Less

More

Ag

gre

gatio

n

More

Less

#

#

#

#

#

#

#

Dimensions

Measures

Credit: Alan Eldridge, Sales Consultant Extraordinaire

Page 13: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

What is LOD?

Many ‘things’ in a purchase order:Salesperson

Producer

Purchaser

Products

Company

State (salesperson)

State (purchaser)

State (producer)

Time (order date)

Time (ship date) not pictured

Page 14: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

What is LOD?

Simple questions I might ask:

Total sales by date?

Unit of product X sold?

Highest volume

producer in each state?

Zip codes with

most purchases?

Page 15: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

For this Given Set of Characteristics of These Things, What is My Measurement?

Page 16: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

LOD is the Set of ‘Characteristics’ You Use to Define the ‘Things’ You are Measuring

Page 17: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support
Page 18: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

LOD in Tableau:A History

Page 19: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Totally Aggregated

Totally Disaggregated

(granularity of data source -

cannot go lower)

Tableau’s data model exposes a single flat

table as the LOD of the data source.

Gra

nu

larity

Less

More

Ag

gre

gatio

n

More

Less

#

#

#

#

#

#

#

Credit: Alan Eldridge, Sales Consultant Extraordinaire

Page 20: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Row LOD

Page 21: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

#

#

#

#

Totally Aggregated

Totally Disaggregated

(granularity of data source -

cannot go lower)

Gra

nu

larity

Less

More

Ag

gre

gatio

n

More

Less

#

#

#

Credit: Alan Eldridge, Sales Consultant Extraordinaire

Viz Level of Detail

Dimensions in Viz

Viz LOD brings data from the ‘source’ LOD

to the LOD of my question. Viz is the

question and defines the LOD

Page 22: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Viz LOD

What are the total sales of each product? (Help me see by product type too)

Page 23: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

#

#

#

#

Totally Aggregated

Totally Disaggregated

(granularity of data source -

cannot go lower)

Features that let you summarize:

totals, ref lines, table calcs, etc.

Gra

nu

larity

Less

More

Ag

gre

gatio

n

More

Less

#

#

#

Credit: Alan Eldridge, Sales Consultant Extraordinaire

Viz Level of Detail

Dimensions

Summary LOD

Page 24: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Summary LOD

How do my individual product sales compare to the average sales for all products?

Page 25: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

> 1000

SUM(Sales)

Customers

#

#

#

#

Totally Aggregated

Totally Disaggregated

(granularity of data source -

cannot go lower)

Filters let you compute small

things at specific LOD.

(SUM(Sales) > 1000, Top N)

Gra

nu

larity

Less

More

Ag

gre

gatio

n

More

Less

#

#

#

Credit: Alan Eldridge, Sales Consultant Extraordinaire

Viz Level of Detail

Dimensions

Page 26: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Filter LOD

How do sales of products fluctuate over time for products with lifetime sales > 40k?

Page 27: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

#

#

#

#

Totally Aggregated

Totally Disaggregated

(granularity of data source -

cannot go lower)

Gra

nu

larity

Less

More

Ag

gre

gatio

n

More

Less

#

#

#

Credit: Alan Eldridge, Sales Consultant Extraordinaire

Viz Level of Detail

Dimensions in Viz

Extract at LOD let’s you redefine the

‘source’ LOD to reduce the amount of data

in your extract and improve performance

Extract Level of Detail

Page 28: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Extract LOD

What are my average monthly sales for each year/quarter?

Page 29: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

#

#

#

#

Totally Aggregated

Totally Disaggregated

(granularity of data source -

cannot go lower)

Gra

nu

larity

Less

More

Ag

gre

gatio

n

More

Less

#

#

#

Credit: Alan Eldridge, Sales Consultant Extraordinaire

Viz Level of Detail

Dimensions in Viz

Geocoding lets you combine data based

on a subset of the LOD. LOD must be in

the viz. Data is replicated to VizLOD

State Latitude Longitude

WA 47.50 -120.50

OR 44.00 -120.5-

Page 30: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Geocoding

What is the sum of sales in each state and how does it vary by product type?

Page 31: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

#

#

#

#

Totally Aggregated

Totally Disaggregated

(granularity of data source -

cannot go lower)

Gra

nu

larity

Less

More

Ag

gre

gatio

n

More

Less

#

#

#

Credit: Alan Eldridge, Sales Consultant Extraordinaire

Viz Level of Detail

Join LOD

Data Blending is a generalization of

geocoding. Arbitrary data aggregated to

a compatible LOD, joined, and replicated

(if necessary) to Viz LOD

#

#

#

Page 32: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Blending

How are my regional sales doing vs. quota?

Page 33: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

#

#

#

#

Totally Aggregated

Totally Disaggregated

(granularity of data source -

cannot go lower)

Gra

nu

larity

Less

More

Ag

gre

gatio

n

More

Less

#

#

#

Credit: Alan Eldridge, Sales Consultant Extraordinaire

Viz Level of Detail

Join LOD

Data Blending was then extended to

support blending on dimensions not in

the viz. This introduced a ‘BlendLOD’

#

#

#

Page 34: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Blending at Join LOD

What is my profitability in each sales territory?

Page 35: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

#

#

#

#

Totally Aggregated

Totally Disaggregated

(granularity of data source -

cannot go lower)

Gra

nu

larity

Less

More

Ag

gre

gatio

n

More

Less

#

#

#

Credit: Alan Eldridge, Sales Consultant Extraordinaire

Viz Level of Detail

Dimensions in Viz

Fixed LOD Expressions are

computed at a particular LOD,

then joined into the other results

at a compatible LOD

#

#

#

#

#

When used as a dimension, the

values are replicated at the data

source granularity

When used as a measure, the values

are joined at the LOD that causes the

least amount of replication and results

are then aggregated to VizLOD

Page 36: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

LOD Calculations

Does the month in which a customer makes an initial purchase affect long term spend?

Page 37: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Asking Questions Requires Multiple Levels of Detail

Page 38: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

There is no single view.

—Jock Mackinlay and Chris Stolte

Page 39: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

There is no single LOD.

—Me

Page 40: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Questions that are Cumbersome from PO Data

What is my employee sales/salary ratio?Salary information is replicated to order LOD, need LOD calc to un-replicate

What employees have no sales in some months?Data is sales, so doesn’t show rows with employee and month if employee had no sale

Where are my customers relative to my stores?Plotting both on the same map today requires a join, but I want to show each independently

What is the average sales of my top ten customers in each state, compared to the rest of the customers in the state?

Ranking isn’t available in the database

Page 41: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

LOD in Tableau:The Future

Page 42: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Future Improvements in Tableau

Richer computations even when not supported by the underlying database

Ability to combine data sources with different LODs into the same visualization without requiring a blend

Richer data modelling to support data sources that contain information at multiple levels of detail

Page 43: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Thank you!

#TC18

Ross Bunker

Principal Engineer

Page 44: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Please complete the

session survey from the My

Evaluations menu

in your TC18 app

Page 45: Welcome [tc18.tableau.com] · 2020-01-06 · Ross Bunker Principal Engineer Tableau Software #LODISTHEKEY. Agenda Why does LOD Matter? ... Data Blending was then extended to support

Recommended