Solving Real-World Challenges with LOD Expression Tableau Conference 2016 4/17/2018 11:41 AM #LODforJedis Solving Real-World Challenges with LOD Expression Bronson Shonk Sr. Product Consultant tableart.co © 2016 Tableau Software. All rights reserved.
Data is cool…
Data is boring
Data is boring without a narrative…
Agenda 5 Techniques Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
Agenda 5 Techniques Example – PowerPoint Tableau Conference 2016 © 2016 Tableau Software. All rights reserved.
Agenda 5 Techniques Example – PowerPoint Example – Tableau Tableau Conference 2016 4/17/2018 11:41 AM Agenda 5 Techniques Example – PowerPoint Example – Tableau © 2016 Tableau Software. All rights reserved.
Agenda 5 Techniques Example – PowerPoint Example – Tableau Tableau Conference 2016 4/17/2018 11:41 AM Agenda 5 Techniques Example – PowerPoint Example – Tableau Exercise – Tableau © 2016 Tableau Software. All rights reserved.
Agenda 5 Techniques Example – PowerPoint Example – Tableau Tableau Conference 2016 4/17/2018 11:41 AM Agenda 5 Techniques Example – PowerPoint Example – Tableau Exercise – Tableau Challenge – Tableau © 2016 Tableau Software. All rights reserved.
> Timing > Questions > Resources > Timing > Questions > Resources > Starter/Solution Workbook > Guided Website > Difficulty
5 Techniques Multiple Aggregation Filter Order Aggregate Bins Pivot Data (reshape) Isolate + Propagate
What you should be thinking about…
Example 01: Multiple Aggregation Tableau Conference 2016 4/17/2018 11:41 AM Example 01: Multiple Aggregation © 2016 Tableau Software. All rights reserved.
What is the average sales per order? Tableau Conference 2016 4/17/2018 11:41 AM What is the average sales per order? © 2016 Tableau Software. All rights reserved.
What is the average sales per order? Tableau Conference 2016 4/17/2018 11:41 AM What is the average sales per order? AVG( Sales ) © 2016 Tableau Software. All rights reserved.
What is the average sales per order? Tableau Conference 2016 4/17/2018 11:41 AM What is the average sales per order? © 2016 Tableau Software. All rights reserved.
What is the average sales per order? Tableau Conference 2016 4/17/2018 11:41 AM What is the average sales per order? AVG( Sales ) © 2016 Tableau Software. All rights reserved.
What is the average sales per order? Tableau Conference 2016 4/17/2018 11:41 AM What is the average sales per order? © 2016 Tableau Software. All rights reserved.
What is the average sales per order? Tableau Conference 2016 4/17/2018 11:41 AM What is the average sales per order? © 2016 Tableau Software. All rights reserved.
What is the average sales per order? Tableau Conference 2016 4/17/2018 11:41 AM What is the average sales per order? © 2016 Tableau Software. All rights reserved.
What is the average sales per order? Tableau Conference 2016 4/17/2018 11:41 AM What is the average sales per order? 106 © 2016 Tableau Software. All rights reserved.
Example 02: LOD + Filter Order Tableau Conference 2016 4/17/2018 11:41 AM Example 02: LOD + Filter Order © 2016 Tableau Software. All rights reserved.
Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? Tableau Conference 2016 4/17/2018 11:41 AM Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? © 2016 Tableau Software. All rights reserved.
Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? Tableau Conference 2016 4/17/2018 11:41 AM Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? OR © 2016 Tableau Software. All rights reserved.
Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? Tableau Conference 2016 4/17/2018 11:41 AM Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? OR © 2016 Tableau Software. All rights reserved.
Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? Tableau Conference 2016 4/17/2018 11:41 AM Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? AND © 2016 Tableau Software. All rights reserved.
Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? Tableau Conference 2016 4/17/2018 11:41 AM Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? © 2016 Tableau Software. All rights reserved.
Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? Tableau Conference 2016 4/17/2018 11:41 AM Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? © 2016 Tableau Software. All rights reserved.
Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? Tableau Conference 2016 4/17/2018 11:41 AM Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? © 2016 Tableau Software. All rights reserved.
Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? Tableau Conference 2016 4/17/2018 11:41 AM Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? © 2016 Tableau Software. All rights reserved.
Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? Tableau Conference 2016 4/17/2018 11:41 AM Which movies were categorized as ‘Comedy’ AND ‘Fantasy’? © 2016 Tableau Software. All rights reserved.
For the rest of the session we will only be using FIXED Expressions
Example 03: Aggregate Bins Tableau Conference 2016 4/17/2018 11:41 AM Example 03: Aggregate Bins © 2016 Tableau Software. All rights reserved.
How many matches has each player won while playing? Tableau Conference 2016 4/17/2018 11:41 AM How many matches has each player won while playing? © 2016 Tableau Software. All rights reserved.
How many matches has each player won while playing? Tableau Conference 2016 4/17/2018 11:41 AM How many matches has each player won while playing? SUM(My Goals) > SUM(Opponent Goals) © 2016 Tableau Software. All rights reserved.
How many matches has each player won while playing? Tableau Conference 2016 4/17/2018 11:41 AM How many matches has each player won while playing? SUM(My Goals) > SUM(Opponent Goals) 3 > 2 = win © 2016 Tableau Software. All rights reserved.
How many matches has each player won while playing? Tableau Conference 2016 4/17/2018 11:41 AM How many matches has each player won while playing? SUM(My Goals) > SUM(Opponent Goals) 0 > 0 = win © 2016 Tableau Software. All rights reserved.
How many matches has each player won while playing? Tableau Conference 2016 4/17/2018 11:41 AM How many matches has each player won while playing? SUM(My Goals) > SUM(Opponent Goals) © 2016 Tableau Software. All rights reserved.
How many matches has each player won while playing? Tableau Conference 2016 4/17/2018 11:41 AM How many matches has each player won while playing? © 2016 Tableau Software. All rights reserved.
How many matches has each player won while playing? Tableau Conference 2016 4/17/2018 11:41 AM How many matches has each player won while playing? © 2016 Tableau Software. All rights reserved.
How many matches has each player won while playing? Tableau Conference 2016 4/17/2018 11:41 AM How many matches has each player won while playing? © 2016 Tableau Software. All rights reserved.
How many matches has each player won while playing? Tableau Conference 2016 4/17/2018 11:41 AM How many matches has each player won while playing? © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
Salesperson = Salesperson Year = Year Quarter = Quarter Tableau Conference 2016 4/17/2018 11:41 AM Data Model Join On: Salesperson = Salesperson Year = Year Quarter = Quarter © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
1. Remove unnecessary quota type Tableau Conference 2016 4/17/2018 11:41 AM Data Model 1. Remove unnecessary quota type © 2016 Tableau Software. All rights reserved.
Remove unnecessary quota types Remove unnecessary product types Tableau Conference 2016 4/17/2018 11:41 AM Data Model Remove unnecessary quota types Remove unnecessary product types © 2016 Tableau Software. All rights reserved.
Remove unnecessary quota types Remove unnecessary product types Tableau Conference 2016 4/17/2018 11:41 AM Data Model Remove unnecessary quota types Remove unnecessary product types Only look at closed won deals © 2016 Tableau Software. All rights reserved.
Data Model Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
SUM( Amount ) >= SUM( Quota ) Tableau Conference 2016 4/17/2018 11:41 AM Data Model SUM( Amount ) >= SUM( Quota ) 70 >= 80 FALSE © 2016 Tableau Software. All rights reserved.
SUM( Amount ) >= SUM( Quota ) Tableau Conference 2016 4/17/2018 11:41 AM Data Model SUM( Amount ) >= SUM( Quota ) 70 >= 80 FALSE © 2016 Tableau Software. All rights reserved.
SUM( Amount ) >= MIN( Quota ) Tableau Conference 2016 4/17/2018 11:41 AM Data Model SUM( Amount ) >= MIN( Quota ) 70 >= 20 TRUE © 2016 Tableau Software. All rights reserved.
The data has already been joined, so you need to account for: Product Type Quota Type Stage Replicated Quota Numbers
Example 04: Pivot Tableau Conference 2016 4/17/2018 11:41 AM © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? Table Calculation: RANK() © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? Columnar Calculation: 1st – 2nd = 2 © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? Calculation 2 Calculation 1 © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? Calculation 1 © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? Calculation 1 © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? Calculation 2 © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? © 2016 Tableau Software. All rights reserved.
What is the gap between students’ 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students’ 1st and 2nd highest exam scores? © 2016 Tableau Software. All rights reserved.
What is the gap between students' 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students' 1st and 2nd highest exam scores? © 2016 Tableau Software. All rights reserved.
What is the gap between students' 1st and 2nd highest exam scores? Tableau Conference 2016 4/17/2018 11:41 AM What is the gap between students' 1st and 2nd highest exam scores? Columnar Calculation: 1st – 2nd = 2 © 2016 Tableau Software. All rights reserved.
Example 05: Pivot + Isolate + Propagate Tableau Conference 2016 4/17/2018 11:41 AM Example 05: Pivot + Isolate + Propagate © 2016 Tableau Software. All rights reserved.
Which subject do students score highest in? Tableau Conference 2016 4/17/2018 11:41 AM Which subject do students score highest in? © 2016 Tableau Software. All rights reserved.
Which subject do students score highest in? Tableau Conference 2016 4/17/2018 11:41 AM Which subject do students score highest in? Step 1: pivot Step 2: isolate Step 3: propagate (cohort) © 2016 Tableau Software. All rights reserved.
Which subject do students score highest in? Tableau Conference 2016 4/17/2018 11:41 AM Which subject do students score highest in? Step 1: pivot Step 2: isolate Step 3: propagate (cohort) © 2016 Tableau Software. All rights reserved.
Which subject do students score highest in? Tableau Conference 2016 4/17/2018 11:41 AM Which subject do students score highest in? Step 1: pivot Step 2: isolate Step 3: propagate (cohort) © 2016 Tableau Software. All rights reserved.
Which subject do students score highest in? Tableau Conference 2016 4/17/2018 11:41 AM Which subject do students score highest in? Step 1: pivot Step 2: isolate Step 3: propagate (cohort) © 2016 Tableau Software. All rights reserved.
Which subject do students score highest in? Tableau Conference 2016 4/17/2018 11:41 AM Which subject do students score highest in? Step 1: pivot Step 2: isolate Step 3: propagate (cohort) © 2016 Tableau Software. All rights reserved.
Which subject do students score highest in? Tableau Conference 2016 4/17/2018 11:41 AM Which subject do students score highest in? Step 1: pivot Step 2: isolate Step 3: propagate (cohort) © 2016 Tableau Software. All rights reserved.
Tuesday, Nov 8 #LODforJedis Tableau Conference 2016 4/17/2018 11:41 AM SESSION REPEATS Tuesday, Nov 8 #LODforJedis 10:45am - 1:15pm | ACC – L4 – Room 16A Wednesday, Nov 9 #LODforJedis 1:45pm - 4:15pm | ACC – L4 – Room 19B Thursday, Nov 10 #LODforJedis 9:00am – 11:30am | ACC – L4 – Ballroom G © 2016 Tableau Software. All rights reserved.
Wednesday, November 9 Table Calcs for Jedis Tableau Conference 2016 4/17/2018 11:41 AM RELATED SESSIONS Wednesday, November 9 Are you as smart as a Tableau consultant 10:45am – 11:45pm Wednesday, November 9 Table Calcs for Jedis 1:45pm – 4:15pm Thursday, November 10 Are you as smart as a Tableau consultant 12:00pm – 1:00pm © 2016 Tableau Software. All rights reserved.
TC16 – Are you as smart as a Tableau consultant Tableau Conference 2016 4/17/2018 11:41 AM Follow Up Tableart.co Challenge Workbook TC16 – Are you as smart as a Tableau consultant © 2016 Tableau Software. All rights reserved.
Tableau Conference 2016 4/17/2018 11:41 AM Please complete the session survey from the Session Details screen in your TC16 app © 2016 Tableau Software. All rights reserved.
Bronson Shonk bshonk@tableau.com tableart.co #LODforJedis Tableau Conference 2016 4/17/2018 11:41 AM #LODforJedis Bronson Shonk bshonk@tableau.com tableart.co © 2016 Tableau Software. All rights reserved.