Relative dates
Aprenda a aplicar fechas relativas a los informes en el Diseñador de Informes.
Relative dates allow you to create reports that you can run periodically without altering your query. A relative date is a period of time that is relative to the current date (last week, last month, etc.).
Relative date functionality is only available with Report Designer.
Apply a relative date to a standard or custom report
- Click Reading in the upper-right corner of the open report to switch the report display to Design mode.
- Click the Edit button () in the Query tab. The Query Panel opens.
- From the Query Filters pane, locate the report object you want to apply a relative date and click the Show prompt properties button (). The Prompt Properties dialog opens.
- From the Prompt Properties dialog:
- Select the Parameter from universe radio button.
- Select a relative date from the universe parameter list. When you select a relative date, its definition appears below the list.
- Click OK.
- If the report object has a date range, repeat step 4 for the To date.
- Click Apply and Close.
- Save the report.
Available relative dates
Name | Definición |
---|---|
Yesterday morning | 12:00:00 AM institution's local time on the day before the current day. |
This morning | 12:00:00 AM institution's local time on the current day. |
Beginning of last week | 12:00:00 AM institution's local time on the first day (Sunday) of the week before the current week. |
Beginning of this week | 12:00:00 AM institution's local time on the first day (Sunday) of the current week. |
7 Days Ago | 12:00:00 AM institution's local time 7 days before the current day. |
30 Days Ago | 12:00:00 AM institution's local time 30 days before the current day. |
60 Days Ago | 12:00:00 AM institution's local time 60 days before the current day. |
90 Days Ago | 12:00:00 AM institution's local time 90 days before the current day. |
Beginning of this month | 12:00:00 AM institution's local time on the first day of the current month. |
Beginning of last month | 12:00:00 AM institution's local time on the first day of the month before the current month. |
2 Months Ago | 12:00:00 AM institution's local time on the first day of the month that started 2 months before the current month. |
3 Months Ago | 12:00:00 AM institution's local time on the first day of the month that started 3 months before the current month. |
6 Months Ago | 12:00:00 AM institution's local time on the first day of the month that started 6 months before the current month. |
9 Months Ago | 12:00:00 AM institution's local time on the first day of the month that started 9 months before the current month. |
12 Months Ago | 12:00:00 AM institution's local time on the first day of the month that started 12 months before the current month. |
Beginning of this year | 12:00:00 AM institution's local time on January 1 of the current year. |
Beginning of last year | 12:00:00 AM institution's local time on January 1 of the year before the current year. |
2 Years Ago | 12:00:00 AM institution's local time on January 1, 2 years ago. |