Skip to content

Period axes and comparisons

7 min read · Updated 17 Nov 2026

A period axis, called a Time intelligence axis in the editor, decides which dates a number covers and how they are grouped: this year by month, the last 30 days by day, quarter to date by week. A Time intelligence measure then compares a measure across that axis, such as revenue this quarter against last quarter, or growth on the same month a year earlier. One axis can be shared by many measures and questions, so they all read the same calendar.

Period axes need Business Questions to be enabled. A layer that already holds period definitions keeps them when it is off, but they cannot be edited, queried or published until it is on again. Ordinary relative-date filters work either way.

Writing axes or comparisons in YAML or over MCP? The definitions, the query shapes and worked examples are in the Period axes reference, starting with Author through MCP.

Before you start: open a semantic layer and go to Business Context. Two capabilities have to be enabled for your workspace: period comparisons put Time intelligence axis in the Dimensions Add menu and Time intelligence measure in the Measures Add menu, and Business Questions is what the comparison settings themselves need — without it the section is absent. If an entry is missing, ask your Astrato contact which of the two is on.

Create a time intelligence axis
  1. The dimension Add menu with Time intelligence axis among the kinds

    The Add menu on the Dimensions tab offers a Time intelligence axis: the reusable calendar periods that period-over-period measures are compared across.

  2. An empty time intelligence axis panel with its period and grouping settings

    A new axis opens with one empty date source, the current calendar year grouped by day, and a Create that stays off until a date field is bound and the axis is named; Add date field takes a second source, and Period picks another window.

  3. The source field picker listing only the order_date column

    An axis reads its periods from a date column, so the source picker offers the date and timestamp fields alone: take order_date from Orders.

  4. The Group by list open on the levels a calendar year allows

    Group by decides the buckets the period is split into, and offers the levels the selected period allows: cut the current year into months.

  5. A complete axis bound to order_date, over the current year, grouped by month

    Named Order timeline, the axis reads order_date from Orders over the current calendar year and buckets it by month, and Create saves it into the layer.

  6. The saved Order timeline axis listed among the layer dimensions

    Order timeline now sits in the Dimensions list, saved locally with the rest of the draft; open Measures to add the measure that compares Revenue across its months.

  7. The measure Add menu with Time intelligence measure among the kinds

    Measures have a kind of their own for the other half: a Time intelligence measure takes an aggregate you already store and compares it over an axis.

  8. A time intelligence measure over Revenue pointed at the Order timeline axis

    With Revenue as its base, the measure already points at Order timeline as its date field and inherits its window; Show as is where you choose what the comparison returns: select Growth (%), name it Revenue growth, then Create.

  9. The saved Revenue growth measure with its period comparison stated in the panel

    The saved measure reads Revenue as growth over the current year against the same period a year earlier, which the axis and this one choice define between them.

  1. On the Measures tab, select Add, then Time intelligence measure. In its Time intelligence section, select Time axis and Show as, then open Settings to change Period and the other settings that hold their defaults. Use Show more… for additional named periods.
  2. To use the comparison in a question, add the measure to a business question. Run it in Data Explorer to see the result table.
  3. Use version compare to see what changed in an axis or a comparison: its source, period, grouping and comparison.

An axis covers one named period and groups it at one level:

Family Periods Group by
Year Current year, previous year, year to date, previous year to date year, quarter, month, week, day
Quarter Current quarter, previous quarter, quarter to date, previous to date quarter, month, week, day
Month Current month, previous month, month to date, previous month to date month, week, day
Week Current week, previous week, week to date, previous week to date week, day
Twelve months Last 12 months month
Days Last 90, 30 or 7 days, today, yesterday day

“Current” periods are whole calendar periods, so the current year includes any future-dated rows in it. “To date” periods stop at the day the period is read as of. Weeks start on Monday.

A period is read as of today unless you choose otherwise under Period as of, which offers only the ends the chosen period takes:

  • Today, the default, for every period.
  • Yesterday, the last complete day, for to-date and trailing windows, so a partial today doesn’t drag the numbers down.
  • The latest date in the data, for data that doesn’t run up to today: a sample, a historical extract or a feed that stopped. Read as of today, every recent period of such data is empty.
  • Fixed date, a date you pick, for a report that must cover the same dates whenever it is opened. It fixes the dates, not the data: a late correction in the warehouse still changes the numbers.

A new time intelligence axis on Year to date with the Period as of picker open, offering the ends that period takes

A time intelligence measure offers the same setting for its window. Leave it on the axis’s end to follow the axis, or choose a different end for that measure alone.

A time intelligence measure shows, under Show as, the current value, the prior value, the difference, the ratio, or growth: the difference divided by the absolute prior value, so a loss that shrinks reads as growth. Give growth a percentage format to show it as a percentage.

For every result except the current value, Compare to and Offset choose the period it is compared with: Previous period, or the same period in the previous year, quarter or month.

  • For a trailing window, such as the last 30 days, Previous period is the 30 days before it.
  • For a calendar window, such as year to date by month, Previous period steps each row back one grouping level: month over month.
  • Offset is how many of those steps to take, one by default. Two years back is the same period in the previous year, two steps back.

A measure that doesn’t choose a comparison follows its axis, so changing the axis carries through to every measure that doesn’t override it. To compare a ratio, such as average order value, see Compare a ratio across periods.

Reading “this week”, “this month” and “versus last month”

Section titled “Reading “this week”, “this month” and “versus last month””

When you ask Nash or another assistant about a period, it reads these words the same way unless you say otherwise:

  • “This week, month, quarter or year” means to date, up to today.
  • “Versus last week, month or year” means the same point in the previous period, not the whole previous period. Comparing a part of a period with a whole one overstates a decline.
  • The first and last groups of a to-date axis are often partial, so their growth figures mislead.
  • Weeks start on Monday.
  • Answers state the exact dates covered, such as Monday September 28 to Thursday October 1 against September 21 to 24.

A comparison reads its own window, not the page around it, and its result depends on what the data holds on both sides. It can return a clean number that means nothing:

  • With no date filter, a comparison still compares its own window. A last-12-months axis compared by year compares those twelve months with the same twelve months a year earlier, whatever total sits beside the result.
  • A date filter narrows both sides, up to the window. Dates outside the axis window stay out, so a filter longer than the window is cut to it. When the period is read as of the latest date in the data, the window ends on the last date the filter keeps.
  • A comparison that reaches back past the first date in the data compares a whole period with part of one. The missing months are not counted, so the change looks far larger than it is.
  • With no data at all on the comparison side, the prior value and growth are empty, not zero. An empty result means there is no comparison. It does not mean nothing changed.

To see which of these you have, show the current and prior values beside the change. The current value should match the figure the change sits beside, and the prior value should cover a complete period. The reference has a query that returns all three.

Period over period in the classic Workbook Editor

Section titled “Period over period in the classic Workbook Editor”

Classic workbooks can compare periods with the built-in period-over-period chart calculations, or, for a period chosen on the dashboard, through measure parameters, without a period axis:

  • A current-period measure filters the fact table’s own date field (not the unjoined picker date) between a start-date and an end-date parameter, and a previous-period measure does the same with differently named parameters. A third measure divides the first by the second and subtracts 1, reusing the same parameter names.
  • The dashboard’s date picker reads a date field from a table that is not joined to the others, so a selection changes the parameters rather than filtering the measures directly.
  • Workbook variables named like the parameters feed them, and in each object that shows the measures, every measure parameter is bound to its variable. An action on the date picker’s selection sets the variables, and a second action on workbook open sets the default period.