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

Advanced table calculations


Before we move on to some practical examples, let's briefly consider advanced table calculations. Advanced, in this case, simply means that code is written instead of using a Quick Table Calculation option. You can see a list of available table calculation functions by creating a new calculation and selecting Table Calculation from the dropdown under Functions.

You can think of table calculations broken down into several categories. In each of the examples, we'll go to Compute using | Category, which means Department is the partition. The various advanced table calculations include:

  • Meta-table functions: These are functions that give you information about the partitioning and addressing. These functions also include Index, First, Last, and Size.

    First gives the offset from the first row in the partition. So, the first row in each partition is 0. Last gives the offset to the last row in the partition. Size gives the size of the partition. Index, First, and Last...

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