Adding a Reporting Period Prompt
You can add a reporting period prompt to your report.
Procedure
- If you do not already have a prompt page in your report, follow the instructions in Creating a Prompt Page.
-
To create your Reporting Period prompt, complete the following steps.
- Drag a Text Item into the first column of the table. Enter the text for the prompt in the text item, Reporting Period.
- Select the table cell with the text item and set the location to be horizontally right and vertically top.
- Make the text bold using the Bold icon.
-
Drag a Value Prompt object into the second column on your prompt
page.
The Prompt Wizard opens.
-
On the Choose Parameter screen of the Prompt Wizard, complete the
following steps.
- Select the option Create a new parameter.
- In the box, type a name for the parameter. For example, Reporting Period.
- Click Next.
-
On the Create Filter screen, complete the following steps.
- Select the option Create a parameterized filter.
-
In the Model item box, click the browse button and navigate to the
LABELID query item as shown in the following example:
[DEFAULT_REL]|MISCELLANEOUS|REPORTING PERIODS|[LABELS]|[LABELID] -
The following values are displayed in the box:
[DEFAULT_REL].[LABELS].[LABELID] - In the Operator box, use the equal sign (=) which is the default.
- Clear the box for the Make this filter optional option.
- If you have multiple queries in your report, in the Apply filter box, select the query to which the filter should be applied.
- Click Next.
-
On the Populate Control screen, complete the following steps.
- Select the Create new query option.
- In the Name box, type a name for the query, for example, Reporting Period Prompt.
-
In the Values to display box, click the browse button and navigate to
the NAME query item as shown in the following example:
[DEFAULT_REL]|MISCELLANEOUS|REPORTING_PERIODS|[LABELS]|[NAME]The following values are displayed in the box:[DEFAULT_REL].[LABELS].[NAME] - Click Finish.