Reader small image

You're reading from  Learning Tableau

Product typeBook
Published inApr 2015
PublisherPackt
ISBN-139781784391164
Edition1st Edition
Tools
Right arrow
Author (1)
Joshua N. Milligan
Joshua N. Milligan
author image
Joshua N. Milligan

Joshua N. Milligan is a Hall of Fame Tableau Zen Master and 2017 Iron Viz Global finalist. His passion is training, mentoring, and helping people gain insights and make decisions based on their data through data visualization using Tableau and data cleaning and structuring using Tableau Prep. He is a principal consultant at Teknion Data Solutions, where he has served clients in numerous industries since 2004.
Read more about Joshua N. Milligan

Right arrow

Scope and direction


Scope and direction are terms that describe how a table calculation is computed relative to the table. When a table calculation is relative, rearranging the fields in the view will not change the scope and direction. Let's see what scope and direction are:

  • Scope: The scope defines the boundaries within which a given table calculation can reference other values

  • Direction: The direction defines how the table calculation moves within the scope

You've already seen table calculations being calculated using the Table (Down) option. In these cases, the scope was the entire table and the direction was down. For example, the Running Total calculation ran from top to bottom of the entire table, adding values as it moved.

To define scope and direction for a table calculation, use the drop-down menu for the field in the view and select Compute using. You will get a list of options that will vary slightly depending on the dimensions present in the view. The first of the options listed...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Tableau
Published in: Apr 2015Publisher: PacktISBN-13: 9781784391164

Author (1)

author image
Joshua N. Milligan

Joshua N. Milligan is a Hall of Fame Tableau Zen Master and 2017 Iron Viz Global finalist. His passion is training, mentoring, and helping people gain insights and make decisions based on their data through data visualization using Tableau and data cleaning and structuring using Tableau Prep. He is a principal consultant at Teknion Data Solutions, where he has served clients in numerous industries since 2004.
Read more about Joshua N. Milligan