Build an interactive web report analyzing monthly customer purchase patterns, enabling data-driven retention strategies without manual Excel work.
~30 min
Intermediate
6 Steps
Download sample file and set up the web report environment
Download the sample Excel file from Learning Experience Samples.
Navigate to [Menu] → [Tool] to open i-AUD Designer.
Configure report settings:
Data > LimitofBinding: 5000 to handle large datasetsLeft, Right, BottomBorder > Line Type: None for clean presentationTip: Setting LimitofBinding to 5000 ensures smooth performance when working with large customer datasets (default is 1,000).
Set up the V/D/P sheet structure for data management
Configure the three-sheet structure that separates concerns:
V_Retention — the display/visualization layer
D1 — raw data storage and retrieval
P1 — parameter variables (e.g., YearMonth for date filtering)
Review the Excel sheet naming convention to understand the V/D/P structure.
Tip: The V/D/P structure separates concerns: V for visualization, D for data, and P for parameters. This makes reports maintainable and flexible.
Create named variables and configure SQL data retrieval
Open Name Manager and define the YearMonth variable in the P sheet. Enter values like "2025-06" with a leading apostrophe to preserve text format.
Identify the columns required to create the V sheet for the retention analysis display.
Configure SQL data retrieval:
i-MATRIX > DB Bot > Dataset ManagerWHERE date = :VS_YMTip: The :VS_YM syntax binds the variable to the SQL query, enabling dynamic date-based filtering at runtime.
Apply the Purchase Cycle formula to calculate customer retention metrics and auto-fill the results.
Link retrieved data to the visualization sheet with formulas
Use aggregation formulas to connect data from the D sheet to the V sheet:
COUNTIFS formula to calculate purchase counts per customer segmentSUMIFS formula to aggregate revenue data by category
Tip: COUNTIFS and SUMIFS are powerful for aggregating customer data across multiple criteria, making retention analysis straightforward.
Add interactive UI elements for filtering by time period
Add a Period Label using UI Bot > Label. Customize font and color in Style properties.
Add a Month Calendar via UI Bot > Calendar > Month:
VS_YM (must match the variable name)yyyyMM → yyyy-MM
Add a Refresh Button via UI Bot > Button. Apply BoxStyle for quick formatting.
Configure button event using Process Bot:
Tip: The Month Calendar linked to VS_YM lets users quickly switch between months without typing dates manually.
Save and verify your completed retention analysis report
Save your report to your personal folder:
My Folder as the destination
Verify your saved report:
[Menu] → [Individual]