[]
Wyn’s Pivot Table visualization includes a powerful Quick Functions feature that lets you compute period-over-period comparisons—such as Month-over-Month (MoM) growth, Year-over-Year (YoY) growth, and other advanced time-based calculations—without writing expressions manually. This article explains the options available in Quick Functions, the conditions required for these features to appear, and a full step-by-step example using a real scenario.
Quick Calculations become available only when a few structural conditions are met:
Use a Pivot Table
Quick Functions for time-based comparisons are only enabled when working with a Pivot Table visualization.
Bind a Hierarchical Date Attribute
The Pivot Table must include a hierarchical date field—typically a single date data attribute that Wyn automatically expands into Year, Quarter, Month, and Day levels.
Place Date Levels in Rows or Columns
Add at least Year and Month from the hierarchical date field to either:
the Rows data binding slot, or
the Columns data binding slot
The order determines the layout of the Pivot Table but does not affect calculation availability.
Add the Same Value Field Twice
Quick Calculations operate on a Value field.
To compare a value to its prior period:
Add the same measure (e.g., Sales Amount) twice to the Values data binding slot.
One instance will display the raw value, and the second instance will hold the computed comparison (MoM, YoY, difference, etc.).
Use the Gear Icon on the Second Value Field
Time-based functions are applied only through the gear icon (⚙️) of a Value field.
The first instance typically remains unchanged; the second is used for the calculation.
When you click the gear icon next to a field in the Values slot, you will find a Quick Functions dropdown containing a suite of commonly used analytical calculations.
Retrieve the value from a previous period.
Options:
Past Year
Past Quarter
Past Month
Past Week
Advanced…
Period Unit (Year, Quarter, Month, Week, Day)
Period Offset (e.g., 1 month back, 2 quarters back)
Calculation Type:
Value (shows the actual past value)
Difference
Percent Difference
Ratio
Compute the change relative to another period.
Options:
Growth Rate
From Previous Period
Same Period, YoY
Same Period, MoM
Same Period, WoW
Advanced… (same configuration options as Past Value → Advanced)
Shows the percent change instead of the raw value difference.
Options:
Growth Rate
From Previous Period
Same Period, YoY
Same Period, MoM
Same Period, WoW
Advanced… (same configuration options as above)
Provides ranking options such as:
Rank
Dense Rank
Percentage Rank
Custom ranking behavior and sorting options
Calculates a percentile for the given value across the Pivot Table context.
You can specify the percentile (e.g., 90th percentile) and partition logic.
Creates cumulative results such as:
Running Total
Running Average
Running Count
Useful for YTD or cumulative monthly tracking.
Adds rolling-window statistics, including:
Moving Average
Moving Sum
Moving Count
You can configure the number of periods included in the window.
Resets the field to its unmodified, raw value (removing any Quick Function previously applied).
The following example demonstrates a complete workflow for creating a Pivot Table that displays monthly sales along with the MoM percentage change.
Drag a Pivot Table visualization onto your canvas.
In the Data Binding panel:
Add Sales Amount to Values twice.
Expand your hierarchical date field.
Add Year to the Rows slot.
Add Month to the Rows slot under Year.
Your Pivot Table now displays Sales Amount by Year → Month.
In the Values slot, locate the second instance of Sales Amount.
Click the gear icon (⚙️) next to it.
Select Quick Functions → % Change Over Time → Same Period, MoM.
Wyn immediately computes the Month-over-Month percentage change for each month.
Click the gear icon again on the calculated field.
Choose Rename…
Enter: Sales Increase/Decrease (%)
Your Pivot Table now shows:
The raw monthly Sales Amount
A second column displaying the MoM % change for each month
This layout provides an instant and clear insight into month-to-month performance trends.