Complete the code to specify how table calculations compute across the view in Tableau.
WINDOW_SUM(SUM([Sales])) [1]In Tableau, table calculations compute across the view by default using the OVER() function, which means they consider the entire partition or view.
Complete the code to calculate a running total that computes across the view.
RUNNING_SUM(SUM([Profit])) [1]The OVER() function allows the running total to compute across the entire view without partitioning.
Fix the error in the table calculation to compute percent of total across the view.
SUM([Sales]) / [1]The WINDOW_SUM(SUM([Sales])) computes the total sales across the view, which is needed to calculate percent of total.
Fill both blanks to compute the moving average across the view ordered by date.
WINDOW_AVG(SUM([Sales]), [1], [2])
The moving average window is set from 2 rows before (-2) to 2 rows after (2) the current row, computing across the view ordered by date.
Fill all three blanks to compute the rank of sales across the view partitioned by region and ordered descending.
RANK_UNIQUE(SUM([Sales]), [1], [2], [3])
The rank is computed descending ('desc'), partitioned by 'region', and computed across the entire table ('table').