Metrics and custom formulas

Reportslayer includes built-in metrics for every connected data source, and you can extend them with saved custom metrics. Ask Claude or ChatGPT to explore your metric catalog, run ad-hoc queries, or create new saved metrics.

Built-in metrics and your workspace catalog

Every connected source comes with built-in metrics that are automatically converted to your workspace currency. You can ask Claude or ChatGPT to:

  • Search your workspace catalog to see available metrics and dimensions.
  • Query metrics over any date range, time grain, or filter.
  • Find exact dimension values, such as a specific campaign or product name.
  • Answer one-off questions that built-in metrics do not cover.

Saved metrics

Ask Claude or ChatGPT to create a custom metric, or create one from the Metrics page in Reportslayer. Reportslayer supports 5 types of saved metrics:

  • Formula: Calculates arithmetic over existing metrics, such as (revenue - cogs) / orders. Workspace owners can override a built-in metric so every dashboard updates automatically. Delete the override at any time to restore the built-in default.
  • Cumulative: Calculates a running total over the selected date range, or resets every week, month, quarter, year, fiscal period, or retail period.
  • Moving window: Calculates a trailing sum over the last 2 to 366 days.
  • Prior period offset: Returns the value from a set number of days, weeks, months, quarters, or years earlier.
  • Share of total: Calculates each row's share when split by a dimension, with the option to calculate the share before widget filters are applied.

Calendars, time grains, and governance

Reportslayer supports multiple time grains and calendar systems across queries and dashboards:

  • Time grains: Hourly (up to 31 days in your workspace timezone), daily, weekly, monthly, quarterly, and yearly.
  • Calendar systems: Standard calendar periods, fiscal periods, and retail calendars (4-5-4, 4-4-5, and 5-4-4).

Workspace owners can mark key metrics as Verified so teams know which definitions to trust. Owners can also add Notes for assistants under Settings → Assistants to give Claude and ChatGPT workspace-specific context when answering questions.