!--a11y-->
Ad-hoc Query Designer: Defining New Queries with the Wizard 
Use
You can use the wizard for the ad-hoc query designer to create queries in a Web application following a step-by-step procedure.

You can only create queries with the wizard. In the ad-hoc query designer itself, you can edit the queries further or change existing queries.
Prerequisites
You have created a Web application containing the
Ad-hoc Query Designer Web item.Procedure
Select the key figures that you want to see in the columns of the query. Expand the nodes Calculated or Restricted Key Figures if necessary, to be able to select existing calculated or restricted key figures.
Choose Next.
Expand the relevant dimension directory and select the characteristic that you want to see in the rows of the query.
Choose Next.
Expand the relevant dimension directory and select the characteristics that are available when you navigate in the query so that you can add them to the drilldown.
Choose Next.
Expand the relevant dimension directory and select the characteristic according to which you want to restrict the data set of the query.

In order to restrict a data set, you have to restrict the selected characteristics to a number of characteristic values. You cannot do this in the wizard. To do this, you have to edit the query in the ad-hoc query designer after you have defined it in the wizard. Select the characteristic in the filter and from the context menu, choose
If a hierarchy is defined for the characteristic, an additional dialog box appears automatically before the Select Filter Values dialog box. Here you can choose whether you want to restrict the characteristic according to the flat list of characteristic values or using a hierarchy. If you select a hierarchy, the Select Filter Values dialog appears with a hierarchically structured selection.
Choose Next.
If you want to change the query definition, choose Back. If you want to leave the query as it is, choose Transfer. The wizard window closes.
Result
The query that you defined is displayed in the ad-hoc query designer.
You can now save the query. Choose Save. A dialog box appears.

You can execute the query without saving it.
Choose Execute.
The query is displayed in a different frame or in other Web items in the current Web template, depending on how the attributes for the
Ad-hoc Query Designer Web item are set up.
