O'Reilly logo

Learning Tableau 10 - Second Edition by Joshua N. Milligan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Practical examples

Having looked at some of the foundational concepts of table calculations, let's consider some practical examples. We'll start with some simple ones and move toward complexity.

Year – over – Year growth

Often, businesses want to compare year over year values, meaning they want to see how quarters (or months or weeks) in one year compared with the same quarters (or months or weeks) in the previous year.

Tableau exposes Year over Year Growth as one option in the Quick Table Calculations. Here, for example, is a view that demonstrates Sales by Quarter along with the percent difference in sales for a quarter compared with the same quarter in the previous year, as shown:

The second Sum(Sales) field has had the Year over Year Growth ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required