Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Tableau

You're reading from  Learning Tableau

Product type Book
Published in Apr 2015
Publisher Packt
ISBN-13 9781784391164
Pages 340 pages
Edition 1st Edition
Languages
Author (1):
Joshua N. Milligan Joshua N. Milligan
Profile icon Joshua N. Milligan

Table of Contents (18) Chapters

Learning Tableau
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Creating Your First Visualizations and Dashboard 2. Working with Data in Tableau 3. Moving from Foundational to Advanced Visualizations 4. Using Row-level and Aggregate Calculations 5. Table Calculations 6. Formatting a Visualization to Look Great and Work Well 7. Telling a Data Story with Dashboards 8. Adding Value to Analysis – Trends, Distributions, and Forecasting 9. Making Data Work for You 10. Advanced Techniques, Tips, and Tricks 11. Sharing Your Data Story Index

An overview of table calculations


Table calculations are different from all other calculations in Tableau. Row-level and aggregate calculations, which we considered in the previous chapter, are performed at the data source layer. If you were to examine the queries sent to the data source by Tableau, you'd find the code for your calculations translated into whatever flavor of SQL the data source used.

Table calculations, on the other hand, are performed after the initial query. Here's an extended diagram that shows how aggregated results are stored in Tableau's cache:

Table calculations are performed on the aggregate table of data in Tableau's cache right before the data visualization is rendered. As we'll see, this is important to understand for multiple reasons, including the following:

  • Aggregation: Table calculations operate on aggregate data. You cannot reference fields in a table calculation without referencing it as an aggregate.

  • Filtering: Any filters will be applied before table calculations...

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 $15.99/month. Cancel anytime}