Tableau Your Data!
Fast and Easy Visual Analysis
with Tableau Software®
Daniel G. Murray and
the InterWorks Bl Team
Wiley
Contents
Foreword xix
Introduction xxi
Part I Desktop
11
Creating VisualAnalytics
withTableauDesktop
3The
Shortcomings
of Traditional InformationAnalysis
4The Business Casefor Visual
Analysis
4Three KindsofData that Exist in
Every Entity.
5How Visual
Analytics Improves Decision-Making
5Turning
Data intoInformation with VisualAnalytics
8The Tableau Software
Ecosystem
8Tableau
Desktop
and TableauReader. 8Introducing
theTableauDesktop Workspace
14Using
theWorkspace
ControlsEffectively
74TheStartPageand DataConnection
Page
74What YouNeedtoKnowabout theMenu 18
Leveraging
Toolbar Icons 20TheDataWindow,Data
Types,
andAggregation
22Building
Visualizations with theRowandColumn Shelves 25
Number ofRecords,MeasureValues,andMeasureNames....26
Understanding
Color in Icons andPills 27Using
the View CardstoIdentify
Trends and Outliers 28 HowtheStatusBarHelps
YouUnderstandVisualizations.... 30Saving
Timeby Using
theShowMe Button 37Notes 33
Connecting to Your Data 35
HowtoConnecttoYourData 35
Connecting
toDesktop
Sources 36Connecting
toDatabase Sources 37Connecting
toPublicDatasources 38WhatAre Generated Values? 39
Measure Names and Measure Values 40
Tableau
Geocoding
41Numberof Records 42
Knowing
WhentoUse a Direct Connection or a DataExtract..43 TheFlexibility
ofDirect Connections 43The
Advantages
ofaData Extract 44Using
Tableau's FileTypes Effectively
45Tableau Workbook Files 45
Tableau
Packaged
Workbooks 46Tableau Datasource Files 46
Tableau Bookmark Files 47
Joining
Database Tables with Tableau 47TheDefaultInnerJoin 49
TheLeftand
Right
JoinTypes
50Customizing
Tableau's JoinScript
51Blending
DifferentDatasources in aSingle
Worksheet 54WhentoUse
Blending
vs.Joins 54How toCreateaData Blend 54
Factors thatAffecttheSpeedof Your Data Connections 59
Your Personal
Computer
59YourServer Hardware 60
The Network 61
The Database 61
Howto Deal withData
Quality
Problems 61QuickSolutions in Tableau 62
Correcting
YourSource Data 63Note 63
Building
Your FirstVisualization 65Fast and
Easy Analysis
via Show Me 65HowShow Me Works 66
Chart
Types
Providedby
the Show Me Button 67TextTables
(crosstabs)
67Maps (Symbol
and Filled) 68Heat
Maps, Highlight Tables,
Treemaps 69 BarChart,
Stacked Bar,Side-by-Side
Bars 69CONTENTS XI
Line Charts For Time Series
Analysis
70Area Fill Charts andPieCharts 71
Scatter
Plot,
CircleView,andSide-by-Side
Circle Plots 72 BulletGraph,
PackedBubble,Histogram,
andGanttCharts 72
Trend Lines and Reference Lines 74
Adding
Trendlines and Reference LinestoYour Charts 76Trend Lines 76
ReferenceLines 76
Why
theConcept
ofScope
isImportant
78Changing
theScopeof TrendLines 79Sorting
Data inTableau 81Manual
Sorting
via Icons 81Calculated Sorts
Using
the Sort Menu 83Enhancing
ViewswithFilters,
Sets,Groups,
and Hierarchies—84Making
HierarchiestoProvide Drill-DownCapability
84Creating
andUsing
Filters 86Creating
aFilterwiththe Filter Shelf 86Grouping
Dimensions 90How Tableau Uses Date Fields 97
Tableau'sDate
Hierarchy
99Rearranging
TimewithTableau 100Creating
Customized Date Fields 101Taming
Data with Measure Names andValues 702Notes 107
4 Creating
CalculationstoEnhanceYour Data 109What isAggregation? 110
Count Distinct Versus Count 110
Median Ill
DimensionversusAttribute 111
What Are Calculated Values and Table Calculations? 112
HowDoCalculated Values Work? 113
HowDoTableCalculations Work? 114
A WordonCalculations and Cubes 775
Using
the CalculationDialog
Box toCreateCalculated Values 115
Field Selection 777
FunctionSelection 777
Parameter Selection 777
Building
FormulasUsing
TableCalculations 118Editing
TableCalculationstoSuit YourPurpose
120Understanding
TableCalculation Behavior 722xii CONTENTS
Customizing
Table Calculations 123Secondary
Table Calculations 125Using
Table CalculationFunctions 128Adding Flexibility
toCalculations with Parameters 129WhatareBasic Parameters? 130
WhatAreAdvancedParameters? 132
Using
the Function ReferenceAppendix
135Notes 136
5
Using MapstoImproveInsight
137Creating
aStandardMap
View 138HowTableauGeocodes Your Data 140
Typical Map
Errors and HowtoDealWith Them 742Plotting
Your Own Locations on aMap
144Adding
CustomGeocoding
to Your Datasource 744Importing
CustomGeocoding
into Tableau 745Using
CustomGeographic
Units inaMap
746Replacing
Tableau'sStandardMaps
149Why Replace
Tableau's StandardMaps?
749Replacing
Tableau's Standard MapstoEnhance Information 750
Using Custom
Background
Imagesto PlotSpatial
Data 152Why
Are Non-Standard Plots Useful? 752 TheSteps Required
toBuildaCustomSpatial
Plot 752 PositioningMarkson aNon-StandardMap 753Publishing
Workbooks with Non-StandardGeographies
.... 156Shaping
Datato Enable Point-to-PointMapping
157Animating Maps Using
the Pages ShelforSlider Filters 159
Notes 160
S Developing
anAd HocAnalysis
Environment 161Generating
New DatawithForecasts 162How Tableau Creates Forecasts 762
Providing
Self-ServiceAd HocAnalysis
with Parameters 166What Are Parameters? 767
How Can Parameters Be Used?. 767
Basic Parameter Controls 767
Advanced Parameter Controls 777
Editing
Views inTableauServer 175Note 176
CONTENTS XIII
7 Tips,
Tricks,and Timesavers 177SavingTime and
Improving Formatting
177Double-Click FieldstoBuild Faster 777 Reduce Clicksusingthe
Right-Mouse
ButtonDrag
179 QuickCopy
Fields withControl-Drag
779Replace
Fieldsby Dropping
theNewFieldonTop 780Right-Click
toEditorFormatAnything
787Editing
orRemoving
Titles from AxisHeadings
787Speed Up
Your PresentationPage
Views 782A Faster
Way
to AccessFieldMenuOptions
783Improving Appearance
toConvey Meaning
More
Precisely
184Changing
theAppearance
ofDates 784Formatting Tooltip
Content 785Change
the Order of ColorExpressed
inChartstoCompare
Related ValuesmoreEasily
785 ExposingaHeader inaOne-Column CrosstabtoAdd
Meaning
and SaveSpace
786Unpacking
aPackaged
WorkbookFile
(.twbx)
787MakeaParameterizedAxis Label 787
Using
ContinuousQuickFiltersforRanges
of Values 788CreateYour Own Custom Date
Hierarchy
789Assemble Your Own Custom Fields 790
Let Tableau Build Your Actions 797
Formatting
Table CalculationResults 792 WhentoUseFloating Objects
inDashboards 795Customizing Shapes, Colors,
Fonts,
andImages
196Customizing Shapes
796Customizing
Colors 798Customizing
Fonts 799Customizing Images
inDashboards 200AdvancedChart
Types
201Bar in BarChart 207
Box Plots 202
Pareto Charts 204
Sparklines
207Bullet
Graphs
208Bringing
It AllTogether
with Dashboards 211 How Dashboard FacilitatesAnalysis
andUnderstanding
211How Tableau
Improves
the DashboardBuilding
Process 212TheWrong WaytoBuild aDashboard 213
The Right
Way
toBuildaDashboard 215Best Practices for Dashboard
Building
216SizetheDashboardto Fitthe Worst-Case AvailableSpace.. 216
Employ
4-PaneDashboardDesigns
277Use ActionstoFilter Instead ofQuickFilters 278 Build
Cascading
Dashboard DesignstoImprove
LoadSpeeds
279Limit the Use of ColortoOne
Primary
ColorScheme 279 Use SmallInstructions NeartheWorktoMakeNavigation
Obvious 220Filter Information PresentedinCrosstabstoProvide
Relevant Details-on-Demand 227
RemoveAll Non-Data-Ink 223
AvoidOne-Size-Fits-AllDashboards 223 WorktoAchieve Dashboard Load Times of Less
thanTenSeconds 223
Building
Your First Advanced Dashboard 224Introducing
the Dashboard Worksheet 224Defining
the Dashboard Size 227Position the Worksheet
Objects
in the DashboardWorkspace
227Using Layout
ContainerstoPositionObjects
237Positioning
andFitting
the DashboardObjects
234Using
ActionstoCreateAdvanced DashboardNavigation
.. 245Embedding
aLive Website inaDashboard. 254Adding
DetailsonDemand withTooltips
262 SharingYour Dashboard with Tableau Reader 266Security
Considerations forPublishing
viaTableau Reader. 266
Sharing
Dashboards with Tableau OnlineorTableauServer 267
Designing
forMobileConsumption
268The
Physics
of MobileConsumption
268Security
Considerations for MobileConsumption
269Typical
MobileUsage
Patterns 269Using
theTableau Performance RecordertoImprove
Load
Speed
278Notes 279
CONTENTS XV
Part II
Tableau Server 2819 Installing
Tableau Server 283TheReasonsto
Deploy
TableauServer 284Data Governance 284
Efficiency
284Flexibility
285Licensing Options
for TableauServerand Tableau Online 286Determining
Your Hardware and Software Needs 286Determining
WhatKindof ServerLicense toPurchase 287Tableau Server'sArchitecture 288
Sizing
the Server Hardware 289Environmental FactorsThatCan Affect Performance 290
Configuring
TableauServerforthe First Time 291General: Server Run As User 29?
General: User Authentication andActive
Directory
292Setting-up Security
Rights
294Enabling
Row-LevelSecurity
via Filters 296 When and HowtoDeploy
ServeronMultiple
Physical
Machines 300Deploying
Tableau Server inHigh Availability
Environments 301
The Three Node Cluster 307
The Four Node Cluster 302
Leverage Existing Security
with Trusted Authentication 303Deploying
Tableau Server inMulti-NationalEntities 306
Using
Performance RecordertoImprove
Performance 307TimelineGanttChart 308
The Events Sorted
by
Time 309Query
Text 309Performance-tuning
Tactics 309Managing Tableau Server inthe Cloud 311 l/l/hat DoesitMeantobe in the Cloud? 377 Tableau's Cloud-BasedVersionsof Server 311 Putting TableauServer In TheCloud 312
Monitoring Activity
onTableau Server 313TheStatusSection 314
The
Analysis
Section 314The Activities Section 314
The
Settings
Section 375Notes 315
UsingTableauServer to Facilitate Fact-Based
TeamCollaboration 317
Publishing
Dashboards in Tableau Server 317Project
319Name 319
Tags
319View Permissions 379
ViewstoShare 320
Options
320Organizing Reports
forConsumption
321Adding
Tagsto Workbooks 322Creating
aFavorite 323Optionsfor
Securing Reports
325The
Application Layer.
325Defining
Custom Roles 326APermission-Setting
Example
328Improve Efficiency
with the Data Server 330Incremental
Updates
335Consuming
Information inTableauServer 335Finding
Information 336Sharing
Comments andViews 338Customized Views 339
Authoring
andEditing Reports
via Server 340 WhatIsRequired
toAuthorReports
onthe Web? 340Server
Design
andUsage
ConsiderationsRelatedtoWeb and Tablet
Authoring.
341Differences between
Desktop
and WeborTabletAuthoring
341Saving
andExporting
via the Web-Tablet Environment 346 Recommendations forImplementing
Web-Tablet
Authoring
347Sharing
Connections,Data Models,and Data Extracts 348Offering
aCommon DataLibrary
348Sharing
DataModels 348Inheritance of
Updates
349Embedding
Tableau ReportsSecurely
onthe Web 349WhentoEmbedaDashboard 349
How toEmbedaDashboard 350
Tips
and Tricks forEmbedding
Dashboards 352Using Subscriptions
toDeliverReports
via E-mail 354Administrators
Subscription Management
355Creating Subscription
Schedules 355Notes 356
CONTENTS XVII
11 Automating
Server with Tableau's Command Line Tools 357What do tabcmd and tabadmindo? 357
Installing
theCommandLine Tools 358Setting
theWindowsPath 360What Kinds of Tasks Can Be
Done withTabcmd? 361
Learning
toLeverage
Tabcmd 362Manually Entering
and RunningaScriptinTabcmd. 363Running
TabcmdScripts
Via BatchFiles 364Common Use Cases for Tabcmd 368
RetrievingForecast Datafrom Workbooks 368
Manage
Data Governance Via Tabcmd 368Using
Tabadmin for Administrative Task Automation 368Starting
Tableau Server 369Part III
Case Studies 37112
Use Cases forRapid-Fire
VisualAnalytics
373Rapid-Fire Analysis
at aPublicUtility
373Aggregating Disparate
DatasourcesataLarge University
375Getting
Started with Tableau 375Prototype
ReportDevelopment
375Leveraging
Tableau Further 376Tepper's
Outcome andExample
Dashboards 376Analysis
inaMajor Railway Logistics
Team 378Modalgistics
DoesTransportation
Research 379How
Modalgistics
UsesTableau 379TheOutcomefor
Modalgistics
381Quality
Metrics in aHospital
382Obamacare and MedicareReimbursements 382 HowTableauWasUsedto
Analyze
VBP 383Southern Maine's Outcome 386
Planning
foraSuccessful TableauDeployment
at ACT 386ValueDriversforACT 386
Building
User Base Interest and Skill 387 AProperly Staged
Evaluation and RollOut. 387How ACT UsesTableau 388
Ensuring Sustainability
388Employing
VisualAnalytics
toAid SuccessionPlanning
389AFramework for
Spurring
Effective Conversationand Action 389