---
title: "Time Frame configuration in the Metric Report"
description: "This article explains the different options for configuring time frame in Pawa"
url: https://support.pawa.zone/en/articles/82-time-frame-configuration-in-the-metric-report
collection: "BI Capabilities"
updated: 2026-08-12
language: en
alternates: [fr-ca]
---

# Time Frame configuration in the Metric Report

This article explains the different options for configuring time frame in Pawa

## Basic setup and Time Frame analysis

Let’s take the example of the time frame of any measurement.

1.  In the report, we see here a column showing the Sell In of the last 6 months. To change the time range, just click on the design editor icon
    

![](https://staticfiles.gleap.io/ghelparticle/fYXTVF7BRCm5c78NZdxF3DZCa5zxQm16gsLiL9XxPxKi6pKYGLiE6WHOAo7LotmLDV62v7HYrNH.png)

2.  Start by clicking the calendar icon to set up the time frame
    

![](https://staticfiles.gleap.io/ghelparticle/JZ1W2Mu7PjFIZxrfYN06PHlLuxvaILi2GRePVUsWdpxQkAPA6bJM0vrXrEDEo07DnxqAmxHpwUL.png)

3.  The dropdown menu offers us a bunch of Time Frame Types. Pick the one you want (see below to learn more about timeframe types). For example, here we select Trailing to see past data.
    

> **Warning:** By default, the time range applied will be Custom. Also, it’s the least recommended type of time range. So it’s a good idea to change the time range type when you create a new measure.

![](https://staticfiles.gleap.io/ghelparticle/Eja81WFHFbmxM6YVPst2BgRSL8uficEwio8cC9l0sLyNdCp6r2O8Di4F0KZ8bSmQf9VrcUnx7qA.png)

4.  When the setup is done, click the floppy disk **Apply**, at the top right
    

![](https://staticfiles.gleap.io/ghelparticle/mCO4eY5NiwRxRSLFDMbPemj8nagXXbAe5mJlin3HHOh6qebRmOyKoBduwKnqxcYQbdF0trUNlFe.png)

5.  So here you can see the column showing the Sell-In for the last 3 months, as set up earlier
    

![](https://staticfiles.gleap.io/ghelparticle/cpXYqs8C7P7qCt7m0WBfAyV7PIUbSqWN3gzCMjxcajIWSOQ17JiQ4uDoniF2XBvhXfX9IPWbrBG.png)

6.  You can also, when naming the measure, set how the time range displays by putting this in curly braces:
    

![](https://staticfiles.gleap.io/ghelparticle/T1JS63QkCpkt5eexkJLOlkKXY8QO6F1DUOy3FvJIsLzY5C89MVkYmoAdKRRaOLdNhF7Bb3DIXnZ.png)

7.  So, when you look at the report, you'll be able to easily check out the Sell In (in this example) within the last three months (here, from April to June)
    

![](https://staticfiles.gleap.io/ghelparticle/NN6T0hQT913tUMXywAeHUSDC63KDAmFqL0sT6SGUQlrc1NbltujGCLEv38Pz5UhZpWv6eFqJE5y.png)

8.  It’s also interesting to see that this time frame changes over time. For example, if we adjust the reference date by clicking the calendar icon on the right;
    

![](https://staticfiles.gleap.io/ghelparticle/QXdix3HSeIDFBLVJGmvbGOZBukndsQxyeXLbyPG0mNfsntpLkLf2efRTl1eKCxtOxHr9cXj2ExB.png)

9.  The time frame will update automatically
    

![](https://staticfiles.gleap.io/gattachments/NW6ZPTEj0HNxSYcRt4Yt4njdOF6AagTr2Gf34PVW52ZJhJLXEiJoja6S0eSoOMvMDiyJJRA3RCY.png)

## Time Frame Types

It's important to pick the right kind of Time Frame when you're setting it up. Choosing the right type will give you a simple, quick, and effective analysis.

### Year to Reference date

This type lets you view data from the first of January of the current year up to the report's reference date.

### Year to End of Period

This type lets you view data from the first of January of the current year up to the end of a period. You can choose to include the current period or not.

### Month to Reference date

This type lets you view data from the current month up to the report's reference date.

### A period

The period is just a specific month.

-   You can pick the current period, the previous period, or the next period
    
-   You can also enter the number of periods you want
    

1.  For example, if you want to see the last 3 periods, just enter 3 in the space made for it and click save
    

![](https://staticfiles.gleap.io/ghelparticle/78uXNvNhniRGzK3qUVlg4FGYcQTGC8PGPYEi5qJoekeyB2LAhJOlfa2TZLKJc32e1ILSQmcWTJ2.png)

2.  It might be useful later to duplicate the measure
    

![](https://staticfiles.gleap.io/ghelparticle/Xty4QEzBtwsGy6ZJiipLixWfdigj5vvZ5vha4bdxLrwityGMXwYTXaqGcwkQ4Xi6zFUDoB62Pal.png)

3.  After that, you can change the number of periods to get a detailed view of the last few months. Don’t forget to click save.
    

![](https://staticfiles.gleap.io/ghelparticle/19d65xYfKMuyEJsHJdiCX58LW9MzpaPnjYvHLbSe9D5aLzsjFzuo8xTUaePA08AF4VtfVr4fjKQ.png)

4.  So, you can check out the periods by month later on (like in the example below)
    

![](https://staticfiles.gleap.io/ghelparticle/qBbqx2hO7Mv7ENlU08XaFCHRf4MTagPEi0xc4SDRwaNWCI6ihebHim2Nnqije90y92XtpTbkjto.png)

### Yearly Period

This kind of Time Frame is handy, for example, if you want to check out the sales for every month in the current year, in columns.

You can also make comparisons between a month in this year and the same month last year, for example.

1.  First, pick the month you want for this year (Year Offset needs to be 0). Hit save
    

![](https://staticfiles.gleap.io/ghelparticle/EjWKkH3LqtyX6vAiro0EoaEJHVDOOBfjRQZ09Q0KQWAMc6DC6caEcHW2CsSoGsCGgqvgtd2mEmA.png)

2.  Duplicate the measure and do the same step, but this time set -1 for Year Offset. Hit save
    

![](https://staticfiles.gleap.io/ghelparticle/maznPqBUqJJVuo975V9hWePEKYazX1KVQNcjW2e0IG1LBarOt6hc0LRZtmTZdRkc0f4jQzSSBt6.png)

3.  Then click on apply at the top right to compare this year's sales for the month with last year's, using the columns
    

![](https://staticfiles.gleap.io/ghelparticle/z8kIvoXd5M9k8vBkdntRbR7IfOf34qNoo9Wv8PhyNsTUfyiTZIH9wUO3SqVoRjsUnnNIWPd66WK.png)

### Trailing

Trailing lets you check out relative past data, whether it's the last days, weeks, periods, years, etc.

1.  First, pick the unit (day, week, period, year, etc.)
    

![](https://staticfiles.gleap.io/ghelparticle/Fvml4QaJdldGSugBrZmx8AGZQWs1FjZVScLl3ghCDUU8vCGT4mHTck4Q2iFv0fpXNiEcW5wgxfn.png)

2.  Then you can enter the number of units you want to see (day, week, period, etc.)
    

![](https://staticfiles.gleap.io/ghelparticle/9mZ7pDPpZaLloetVm2zeMXuZtTt7rKjqMum67EAP8NjGVxPst7MGfGTRumQ4oySx564xOvcPicW.png)

3.  You can also choose to include or exclude the current unit (in this case, the week)
    

![](https://staticfiles.gleap.io/ghelparticle/EbFRFavUSr7wXysZPNZwy643rAJoN2HpHOnrUVobj02ny6Nbdmy7kHXG0Quug2wRbbpgKkiOMb2.png)

> **Info:** The first day of the week option also lets you pick which day the week starts on

4.  You can also pick the calendar type. By clicking in the dropdown menu, you can choose the Gregorian calendar, the fiscal calendar, and in some cases, a company calendar
    

![](https://staticfiles.gleap.io/ghelparticle/vmOtcsImblrm3MIjSZY71NE8PexG3L39fagYbibES596fQqoo0fz8IIPKLFMPCscaVsWxXjrBBX.png)

### Next

The next filter is really similar to the trailing filter, but this one lets you check out data in the future.

The setup principle is the same as for Trailing. Don’t forget to click save when the options you want are selected

![](https://staticfiles.gleap.io/ghelparticle/J49UYglCeIRtRWPwQ4tHacWP5DZsyagRw0CGtjnRt1MCSmG13aFkxu3ty9YXZmR9WtP0N921frf.png)

### From to

From to is an advanced option that lets you do things like comparisons. Several options can be pretty interesting.

**Year to Current Date**

Let’s say we want to compare Year to Current Date against last year.

1.  First, select the **Last** option under the **From** box, and choose the date you want
    

![](https://staticfiles.gleap.io/ghelparticle/R9aknEZzd8X3iwqK0ZO1E0rQeqN7esBrKkJ9euIt2KG61YbbLA1BIR966ubduNnMOpKX6PAZYQH.png)

2.  Repeat the same process by choosing the option **Current Reference Date,** under the **To**
    

![](https://staticfiles.gleap.io/ghelparticle/tlVWBerDPQ3igFaeYd0ZAEdkBYUTVPRNvs9XsKyfGIVkaEUNryk8KqkS8CvrqmvzwtXD50gLuOV.png)

3.  To get last year's equivalent, just repeat the same steps, but this time add an **OffSet.** In the example below, we pick the option **Year** for the Unit
    

![](https://staticfiles.gleap.io/ghelparticle/e6yWdfAAL3Ak4YbluUnbuDf8GGbi328BhEHnWNRi4Ggg4YyKFW5nnvmHotSWKD9Qn8MtV30iUtn.png)

4.   Then type -1 in the **Year Offset** and hit save
    

![](https://staticfiles.gleap.io/ghelparticle/oWiysY87DSiNAUUDLIWXSdaJpBL8ysvUKHcX9uXxweYgbJwgCCmEYKQeBckK48QlwcluizXKyjD.png)

5.  By clicking apply in the top right, you'll be able to compare these two periods
    

![](https://staticfiles.gleap.io/ghelparticle/ZItFtMmMHZjMI1uVk0YRtvGVRpfsOlZcQhckGJjIcLczF5WNbNPrZKxNAV1OYed6MmQv95PayUs.png)

Current year analysis

Another common example is used to analyze the current year.

1.  To do this, choose the **Last** option in the **From** section, and **January 1st** on the calendar. Then choose the **Next** option in the **To** section, and **December 31th** on the second calendar
    

![](https://staticfiles.gleap.io/ghelparticle/TfYKV0Is0PlJoX0GIPnd9GArFHBwM42RdBHhIbwAk2TasDRui4CSFtaLmGgoM8hXsWqq1xxB2Fi.png)

2.  Next, apply the desired offset like explained in the previous steps, to compare the current year with a previous one
    

Fixed date

You can also pick a fixed date**,** up to the next December 31st. This feature isn’t recommended as much but sometimes it’s needed. Just choose the **Date** option under the **From** box, and select the date you want by clicking on the calendar

![](https://staticfiles.gleap.io/ghelparticle/DqKZHTxA07ECO0aJl5RvhX46Zb9rsUodYIWhh4YV8aJyBccgRAflnOG0pRP7BSmJB2gUDtiUhHe.png)

Offset

Let’s say we want to see the last 7 days versus the next 7 days. You can do this by choosing the Offset option under the **From** and **To** section and entering -7 and 7 next to the unit you want (for this, the unit’s a day). With this, you can look at the 2 weeks before and after today’s date.

![](https://staticfiles.gleap.io/ghelparticle/DvCFZiiy4fE61AkcTbK74cBjHipqLTPjoat07CWjbVBrvSN7cYyK97JHivg8gJkv4j49Le2Rkwa.png)

Custom Landing Freeze Date

Access to the Landing Freeze Date is only for people with admin rights. As soon as the date is changed, all the reports are automatically updated. So, this option gives you some control over a date that isn’t connected to when the report is viewed or edited.
