Go to primary content

Calculated Measure Templates and Snippets

Describes the templates and code snippets that you may use in creating calculated measures.

For creating or editing calculated measures, the Analytic Views extension provides a Calculated Measure Expression Editor and templates for predefined calculations that you can perform on your data, such as Prior Period, Period-to-Date, and Share. It also provides snippets, which are code fragments for row functions and CASE statements.

Snippets

Snippets are code fragments. The Analytic Views extension provides a number of row function snippets such as the numeric functions ABS and MOD, character functions such as LENGTH, and SYSDATE, and many others. It also provides simple and searched CASE functions.

For example, the snippet for the GREATEST function is GREATEST(expr [, expr ]...).

Templates

The calculated measure templates are described in the following topic categories: