This calculation is designed to measure the percentage change between two date ranges in your dashboards and reports. The logic compares values across the selected periods, allowing you to quickly identify increases, declines, or trends over time.
This logic works only with date ranges that can be selected in the platform and does not support mismatched or custom-length comparisons outside those options. It’s ideal for standard period-over-period analysis such as week-over-week or month-over-month comparisons. This ensures that time-based insights remain consistent, reliable, and actionable.
Please see below for benefits and implementation steps.
Calculate % change between two date ranges
Compare totals across selected date ranges
Ensure consistent, reliable trend reporting across dashboards
Add values for specific date ranges when needed
Create a dashboard with a single widget and enable Compare with Previous Date Range in the date filter.
Make sure the fields you want to analyze are included in the Group By section.
These groupings will be used later for mapping and assignment inside the Smart Connector.
Set up a scheduled report with the following settings:
Attachment: Excel or CSV
Dashboard: Select the dashboard created in Step 1
Date Range: Choose the time period that best fits the user’s needs
Note: The comparison is limited to the date range and its automatically matched “previous” period. TapClicks cannot compare two unrelated custom ranges.
The exported CSV will contain two columns for your metric values:
Previous (P) — the earlier period
Current (C) — the selected date range
These two columns form the basis for your calculations.
Use the scheduled report’s CSV as the data source when setting up a new Email Smart Connector.
This imports the previous and current values back into TapClicks as usable fields.
Inside the Smart Connector, select the field(s) you want to use for assignment or mapping, typically the same fields you included in the dashboard Group By.
This ensures your data aligns correctly when displayed.
You should now see two separate fields in your Smart Connector dataset:
Current (C)
Previous (P)
These represent the two periods you are comparing.
Use Advanced Calculations to measure the changes between the two time periods.
A. Difference (absolute change) C - P
B. Percent Change (C - P) * 100 / P
These formulas will allow you to show increases, decreases, and performance trends clearly in any widget or report.
There is often more than one way to solve a problem in the Tapclicks platform, so it's important to consider how each one could impact the performance of your instance. Here are some key points to keep in mind:
Advanced calculations: While powerful, advanced calculations can slow performance with large datasets. Use simpler calculations when possible and reserve advanced ones for when necessary to maintain efficiency.
Limit CASE statements: Keep CASE statements to 10 branches or fewer. Larger ones can slow processing, so simplify or break them into smaller segments for better performance.
Data lookups for large conditions: For complex conditions, consider using data lookups from external sources like Google Sheets to simplify logic and improve performance.