×

Tableau Numeric Calculations

Introduction to Tableau Numeric Calculations

In Tableau, the Numeric calculations are done by using an extensive range of inbuilt functions available in the formula editor. Numeric calculations allow you to perform various computations on the data values present in your fields. Create Calculated Field
  1. In the Tableau Desktop, connect to the Excel file named FacebookData which is saved in the data source.             Tableau Numeric Calculations
  2. Navigate to the worksheet pane and click on Analysis > Create Calculated Field as shown below:
Tableau Numeric Calculations
  1. You will notice that a new dialogue box has appeared. Click on the icon present on the rightmost side of the box.
Tableau Numeric Calculations
  1. You can see a tab linked with the previous one which lists all the functions that are available in Tableau.
Tableau Numeric Calculations
  1. Further, you can change the dropdown value and choose only the functions that are related to numbers.
Tableau Numeric Calculations
  1. On the rightmost side of the pane, you will notice that Tableau is briefing us with the formula and small explanation for the selected functions.
Tableau Numeric Calculations

Create a Formula

To study the maximum number of sales for the different region in the Facebook data, we will create a formula of finding the max sales from the whole range of data as shown in the following screenshot. Also, name this field as Max_Sales. And click on Ok. Tableau Numeric Calculations You will find that a new field named Max_Sales has been created in the measure column.

Applying the Calculated Field

The above-calculated field can be applied in the view by dragging it to the Rows shelf as displayed in the following screenshot. It produces a bar chart showing the maximum number of sales held for the different regions. Tableau Numeric Calculations

Applying Aggregate Calculations

We can create different calculations in the same manner as above. Next, we will create a calculated field using an aggregate function. Follow the same steps: Open the calculated field and create AVG(sales) values for Regions. Write the numeric formula for the AVG(sales)in the calculation editor as shown in the following screenshot. Tableau Numeric Calculations Change the name to Avg_Sales. Click on the ok option. You will notice that a field named with Avg_Sales has been created under the measures. Drag that field to the rows shelf and dimension Region to the column shelf.  The following screenshot appears showing the bar charts for average sales occurred in different regions. Tableau Numeric Calculations

Related Topics

Tableau Visualization

Data Visualization Using Tableau In this chapter, we will learn about visualization. We will come across and click the ‘Sheet’ which is where you start to build our visualization. Let’s take a look...

5 minutes read.

Tableau Data Terminology

Learn Tableau Data Terminology Tableau Tool drives a lot of visualizations. It is one of the dominant components for Data Analysis. It has many exclusive terms and descriptions. One needs to get...

4 minutes read.

Tableau Bar Chart

How to Create Tableau Bar Chart? In Tableau, different kinds of bar charts can be produced by using dimensions and measures. A bar chart represents your data in rectangular bars with the...

2 minutes read.

Tableau Server Architecture Components

Tableau Architecture Explanation Tableau provides a scalable solution for the delivery and creation of web, mobile and desktop analytics. Tableau Server is an analytics platform that is used to level up thousands...

2 minutes read.

Tableau Date Functions

Tableau Date Functions with Examples Dates are crucial fields which are widely used in data analysis. Hence, Tableau provides a large number of inbuilt date functions that allows you to manipulate...

2 minutes read.

Tableau LOD Expressions

LOD Expressions LOD or Level of Detail expressions computes values at the data source and the visualization level instead of bringing all the data to the Tableau interface. However, LOD expressions...

3 minutes read.

Tableau Bubble Chart

How to Create Tableau Bubble Chart? A bubble chart is a kind of chart that displays the three dimensions of data as a cluster of circles. It is considered as a...

2 minutes read.

How to download and install tableau setup for free?

Tableau Environmental setup In this section, we will learn how to download and install tableau for free. After downloading tableau setup, the installation is a very easy process. The following steps and screenshots...

1 minute read.

Tableau Motion Chart

Motion charts are a type of chart that allows you to visualize in action displaying the changes of your data over time by indicating the movement of data points within...

2 minutes read.

Tableau Scatter Plot

Tableau Scatter plot with Dimensions The scatter plot represents the data in which many points are scattered in the Cartesian plane according to the given figures. It is generated by plotting...

2 minutes read.

Tableau Data Types

Data Types in Tableau Tableau is a fastest growing and powerful data visualization tool which is primarily used in the Business Intelligence. Since every tool stores its data into some memory...

2 minutes read.

Tableau Data Blending

Introduction to Tableau Data Blending Data Blending is a very advantageous feature in Tableau. Data blending is referred to as a technique where on a single worksheet, the data is blended...

3 minutes read.

Tableau Bump Chart Tutorial

How to Create Tableau Bump Chart? A Bump Chart shows a comparison between two dimensions using a measure of your choice. It is a line chart which is used when we...

2 minutes read.

Tableau Bullet Chart

How to Create Tableau Bullet Chart? A bullet chart is a type of chart that is used to compare the value of one measure with another measure. It is a variation...

2 minutes read.

Tableau Numeric Calculations

Introduction to Tableau Numeric Calculations In Tableau, the Numeric calculations are done by using an extensive range of inbuilt functions available in the formula editor. Numeric calculations allow you to perform...

2 minutes read.

Tableau Histogram Chart

Histogram chart in Tableau A histogram is a chart that represents the accurate distribution of numerical data. A histogram represents the actual frequencies of values of a variable bucketed into ranges....

2 minutes read.

Difference between Tableau and Excel

Why is Tableau used instead of Excel? Tableau is a fastest growing and powerful data visualization tool which is primarily used in the Business Intelligence Industry whereas Microsoft Excel is a...

2 minutes read.

Tableau Quick Filters

Tableau Filters help to have enough functionality to solve most of the common filtering needs. Quick filters are simply a filter that has been exposed in a view. But, it...

2 minutes read.

Components of Tableau Server

Core Components of Tableau Server Tableau Server's work is directed primarily with the following four server processes: Application Server VizOL Server Data Server Gateway Application Server: It controls hold browsing and various...

2 minutes read.

Tableau Line Chart

In a line chart, measures and dimensions are taken along the two axes of the chart area. Line Chart is used to understand the moment of the data and analysis...

2 minutes read.