Leverage Multiple Tableau Data Extracts for Big Data in Tableau 8

Leverage Multiple Tableau Data Extracts for Big Data in Tableau 8

Mike Roberts
//

What you will cover:

  • Aggregating extracts to different levels (Year / Month)
  • Data blending
  • Calculations
  • Parameters

Step 1: Model your Data (read: What are you trying to analyze?)

For our specific case, we’ll have a total of 5 TDE files and our dashboard will move seamlessly through each of them using just one parameter control.

Once you’ve got the plan down, you will leverage one primary and N secondary TDE. The primary should be the most complete list of dimensions, and that’s it; you will duplicate for each level of aggregation and model accordingly (High Level Year, High Level Month, Low Level Year and Low Level Month).

Step 1: Primary (_master)

The primary (or _master) in our case looks like this (ignore the Calculated fields, we’ll get to these). Remember, this list should be exhaustive:

Step 1: Primary TDE - Dimensions

Step 2: Create the Aggregated TDE

Step 2: Creating the Aggregated TDE - State

Notice that the “City” field from the “_master” was hidden in our High level (as was any unnecessary dimensions). 

First, HIDE those fields you don’t need (eg: City) and then do this:

Step 2: Create the Aggregated TDE - Extract Data

Rinse and Repeat for each level.

NOTE: For the Low-Level, make sure you include the “City” field. Duplicate the “_master” data source and hide / show the fields you want BEFORE you create the TDE.

Step 3: Create Parameter to control your extracts

Step 3: Create Parameter to control your extracts - Edit Parameter [Extract Selection]

Step 4: Create Calculated fields in the ‘_master’ data source only

First:

Step 4: Create Calculated fields in the ‘_master’ data source only - Calculated Field [Geo_Blend]

Second:

Step 4: Create Calculated fields in the ‘_master’ data source only - Calculated Field [Order Date]

NOTE: I’ve renamed the original “Order Date” because I wanted this calculated field to be recognized by the Tableau Blending feature (the name is the same and, as a result, it will blend).

Third:

Step 4: Create Calculated fields in the ‘_master’ data source only - Calculated Field [Sales_Master_Step1]

Fourth:

Step 4: Create Calculated fields in the ‘_master’ data source only - Calculated Field [Sales_Master_Step2]

Step 5: Create and Blend

Step 5: Create and Blend - Relationships

Conclusion

Since the world’s data is not getting any smaller, it makes sense to do some light “modeling” to focus the analytical process. Without focus and clarity, we’re lost and just spinning our wheels. 

Also, I’ve tested this on data sets exceeding 200 million records and it’s just as fast, if not faster, than one massive TDE. Divide and rule, indeed. J

Enjoy!

-Mike

Need Expert Help?

See Our Full Menu of Data Services

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072

×

Love our blog? You should see our emails. Sign up for our newsletter!