Chapter 6. Calculating User-defined Fields

In this chapter, we will cover the following recipes:

  • Using predefined functions
  • Calculating percentages
  • Applying the If-Then logic
  • Applying logical functions
  • Showing totals
  • Showing the percentage of totals
  • Discretizing data
  • Manipulating text
  • Aggregating data

Introduction

Many a times we need to manipulate data in a certain way to generate the desired visualization or text. Tableau provides ways to calculate and create new fields, which could be used to enhance our visualization.

Get Tableau: Creating Interactive Data Visualizations now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.