Tableau Desktop Certified Associate: Exam Guide
by Dmitry Anoshin, JC Gillet, Fabian Peri, Radhika Biyani, Gleb Makarenko
Defining Window functions
The last type of function that is very useful in Tableau, and especially in the exam, are Window functions. These are a set of functions that includes WINDOW_SUM, WINDOW_COUNT, WINDOW_AVERAGE, and so on. These functions all work in a similar manner. The basic syntax for these functions is WINDOW_SUM(expr, [start,end]).
There are two main ways to use these functions. The first is to use the calculation without specifying a start or an end in the second part. In this case, the function will perform the specified aggregation, for instance SUM, against all rows that are currently in the partition (as defined by the Compute using option when right-clicking the pill). We will use this technique in the second practical ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access