Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Tableau Certified Data Analyst Certification Guide

You're reading from   Tableau Certified Data Analyst Certification Guide Ace the Tableau Data Analyst certification exam with expert guidance and practice material

Arrow left icon
Product type Paperback
Published in Jun 2024
Publisher Packt
ISBN-13 9781803243467
Length 462 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Daisy Jones Daisy Jones
Author Profile Icon Daisy Jones
Daisy Jones
Harry Cooney Harry Cooney
Author Profile Icon Harry Cooney
Harry Cooney
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Chapter 1: Connecting to Data FREE CHAPTER 2. Chapter 2: Transforming Data 3. Chapter 3: Calculations 4. Chapter 4: Grouping and Filtering 5. Chapter 5: Charts 6. Chapter 6: Dashboards 7. Chapter 7: Formatting 8. Chapter 8: Publishing and Managing Content 9. Chapter 9: Accessing the Online Practice Resources 10. Other Books You May Enjoy

Calculated Fields

Calculated fields in Tableau can be created by selecting the caret at the top right of the Data pane followed by Create Calculated Field. This will open up the calculated field configuration window in which the logic can be entered. There is also a help section that documents every calculation/function available, as well as an example of how to implement it.

Figure 3.1: Calculated field help section – use the dropdown to select the calculation type category

Figure 3.1: Calculated field help section – use the dropdown to select the calculation type category

Calculated fields allow users to combine existing fields and apply transformational functions to the values referenced. Values can be hardcoded into the calculation and the outcome will depend on the data type used. For example, typing 2 + 2 into a calculated field will cause the calculated field to return 4. However, if the 2s are strings, 2 + 2, then the output of the calculated field would be 22. It is not possible to combine different data types; for example, 2 + 2. It is...

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 €18.99/month. Cancel anytime