You can create an embedded prompt hierarchy to store it
with a visual query, dynamart, analytical query, or compound dynamart.
Before you begin
Open a query to which you want to add an embedded prompt hierarchy
on the Design tab of the query editor.
About this task
To create a prompt hierarchy and embed it in the query:
Procedure
- On the Design tab, in the Prompts pane, click the down arrow and select Create Embedded Prompt Hierarchy (
) to open the Create Embedded Prompt Hierarchy wizard.
- In the Prompt name field, specify
the name that you want to use for the prompt hierarchy.
- In the Display string field, specify
the text that you want to display when the query is run.
- Click Finish to close the Create Embedded Prompt Hierarchy wizard and open the Prompt Hierarchy editor.
- In the Prompt Hierarchy editor, create
a prompt hierarchy and save it. For more information, see the Creating prompt hierarchies.
- Return on the Design tab of the
query editor.
The prompt hierarchy that you created is embedded in the
query and displayed in the Prompts pane.
- Assign prompt hierarchy levels to selected columns:
- To edit a prompt hierarchy, select it from the list of
available prompts in the Prompts pane and click Edit Prompt.
- To delete a prompt hierarchy, select it from the list
of available prompts in the Prompts pane and
click Delete Prompt.
- To update data of the linked prompt hierarchy, select it
from the list of available prompts in the Prompts pane and click Refresh linked prompt hierarchy.
- To edit the level structure or data source object for the
prompt hierarchy, select it in the Prompts pane
and click Open in prompt hierarchy editor (
).
The prompt hierarchy is opened in the Prompt
Hierarchy editor.
Results
To view the prompt values that you specified when you last ran the query, select .