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

Creating arithmetic calculations


In the previous recipe, we looked at String manipulations. In this section, let us focus on manipulations on numbers. However, before we move to arithmetic calculations, we must first understand the difference between aggregated and disaggregated measures. To elaborate on this, let us see an example. The two formulae are SUM(Profit) / SUM(Sales) and SUM(Profit / Sales).

The question is, whether these two formulae will give the same result or will they give different results?

From what we have learnt in school, we know that the Bracket operations or Parentheses will be computed first. We know this methodology as PEMDAS (Parentheses, Exponents, Multiply, Divide, Add, Subtract). Since many people tend to say brackets instead of parentheses and orders instead of exponents, it is also referred to as BODMAS (Brackets, Orders, Divide, Multiply, Add, Subtract) or BEDMAS (Brackets, Exponents, Divide, Multiply, Add, Subtract).

Based on this knowledge, we can clearly...

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}