Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Tableau Cookbook - Recipes for Data Visualization

You're reading from  Tableau Cookbook - Recipes for Data Visualization

Product type Book
Published in Dec 2016
Publisher Packt
ISBN-13 9781784395513
Pages 504 pages
Edition 1st Edition
Languages
Author (1):
Shweta Sankhe-Savale Shweta Sankhe-Savale
Profile icon Shweta Sankhe-Savale

Table of Contents (18) Chapters

Tableau Cookbook – Recipes for Data Visualization
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Keep Calm and Say Hello to Tableau 2. Ready to Build Some Charts? Show Me! 3. Hungry for More Charts? Dig In! 4. Slice and Dice – Grouping, Sorting, and Filtering Data 5. Adding Flavor – Creating Calculated Fields 6. Serve It on a Dashboard! 7. The Right MIX – Blending Multiple Data Sources 8. Garnish with Reference Lines, Trends, Forecasting, and Clustering 9. Bon Appétit! Tell a Story and Share It with others 10. Formatting in Tableau for Desserts Index

Understanding EXCLUDE LOD


The EXCLUDE LOD expression is just the opposite of the INCLUDE LOD expression. As mentioned earlier, EXCLUDE LOD computes the values by omitting the dimensions from the view level of detail and it is most useful when excluding a dimension as the results are computed at a higher granularity than the visualization's level of detail.

The syntax of using the EXCLUDE LOD expression is { EXCLUDE [Dimension] : aggregate expression}.

The preceding syntax shows how one can use an EXCLUDE expression for a single dimension; however, if there is more than one dimension that we want to include in our calculation, then the syntax can be modified as { EXCLUDE [Dimension1], [Dimension2], [Dimension3] : aggregate expression}.

Let us see how we can use the EXCLUDE LOD expression in the following recipe.

Getting ready

Let us use the Category, Sub-Category, and Sales fields from the Orders sheet of Sample - Superstore.xlsx data.

How to do it…

  1. Let us start by duplicating the previous sheet...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $19.99/month. Cancel anytime}