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

# Custom Table Calculations

The following functions are ones that, instead of being calculated in a measure pill (the green pill-shaped icon used in a Tableau worksheet), utilize a calculated field.

## INDEX

An `INDEX` function allows the user to calculate a row-level count for a table. This index starts at 1 and continues the count down the table. There will not be a recount per section unless you specify how the table calculation is calculated.

Figure 3.36: Example table of rankings

The function of this calculation is `INDEX()`.

You can create this calculation to find a specific row. For example, if you needed to filter the first 25 rows of data, you could use a boolean calculation via `INDEX() <= 25`. The following screenshot shows the result:

Figure 3.37: Table highlighting the first 25 rows

## Rank

There are multiple ways in Tableau to sort the data in a field into ascending or descending order, and one method is by...