Skip to content

CHANGE() Function

By Optuma Team · Updated 2020-07-01

The CHANGE() function can be used to specify percentage change over a fixed period (eg 1 week, 3 months) or from a fixed data (eg the 2020 low on March 23rd).

Add CHANGE() to the script editor window and click on the text to change the parameters (the default setting is 1 Day), such as percentage change over the last week:

CHANGE(INT_TYPE=Week)

Change Interval Week

Change over the last 2 months:

CHANGE(INT_TYPE=Month, INT_COUNT=2)

Change the Interval Type to Fixed and select the date from the calendar.

Change Interval Fixed

Custom Labels

Percentage change between two specific dates

Section titled “Percentage change between two specific dates”

This isn’t possible with the CHANGE function, but here’s a solution on the forum:

https://forum.optuma.com/t/perfomance-between-two-static-dates/3859

Choose which categories of cookies you allow. Strictly-necessary cookies are always on. You can change this any time via the "Cookie Settings" link in the footer.

  • Functional

    Remember preferences like dismissed banners and your dark-mode choice.

  • Analytics

    Help us understand how the site is used so we can improve it.

  • Marketing

    Measure our advertising and help us reach people who may be interested in Optuma.