Introduction
Table calculations in Tableau perform their computations based on the data visible in the current view. This means they use the data already displayed in your worksheet to calculate results, which helps you analyze trends or differences within that specific view.
When you want to calculate running totals or moving averages based on the data shown in your chart.
When you need to compare each value to the total of all values currently displayed.
When you want to rank items within the visible data on your worksheet.
When you want to calculate percent differences between values shown in your view.
When you want to perform calculations that depend on the order or layout of data in the current visualization.