Quick table calculations

Quick table calculations are predefined table calculations that can be applied to any field used as a measure in the view. These calculations include common and useful calculations such as Running Total, Difference, Percent Difference, Percent of TotalRank, Percentile, Moving Average, YTD total, Compound Growth Rate, Year Over Year Growth, and YTD Growth. You'll find applicable options on the dropdown on a field used as a measure in the view:

Consider the following example using the sample Superstore sales data:

Here, Sales over time is shown. Sales has been duplicated on the Rows shelf and the another SUM(Sales) field has the running total quick table calculation that is applied. Using the quick table calculation we can avoid writing any code.

You can actually see the code that the quick table calculations use by double-clicking on the table calculation field in the view. This turns it into an ad hoc calculation. You can also drag an active field with a quick table calculation applied to the data pane, which will turn it into a calculated field, available to reuse in other views.

The following table demonstrates the quick table calculations available:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset