#### Overview of this book

The Tableau Certified Data Analyst certification validates the essential skills needed to explore, analyze, and present data, propelling your career in data analytics. Whether you're a seasoned Tableau user or just starting out, this comprehensive resource is your roadmap to mastering Tableau and achieving certification success. The book begins by exploring the fundamentals of data analysis, from connecting to various data sources to transforming and cleaning data for meaningful insights. With practical exercises and realistic mock exams, you'll gain hands-on experience that reinforces your understanding of Tableau concepts and prepares you for the challenges of the certification exam. As you progress, expert guidance and clear explanations make it easy to navigate complex topics as each chapter builds upon the last, providing a seamless learning experience—from creating impactful visualizations to managing content on Tableau Cloud. Written by a team of experts, this Tableau book not only helps you pass the certification exam but also equips you with the skills and confidence needed to excel in your career. It is an indispensable resource for unlocking the full potential of Tableau.
Chapter 2: Transforming Data
Chapter 3: Calculations
Chapter 4: Grouping and Filtering
Chapter 5: Charts
Chapter 6: Dashboards
Chapter 7: Formatting
Chapter 8: Publishing and Managing Content
Chapter 9: Accessing the Online Practice Resources
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

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...