OLAP Spreadsheet Add-in User's Guide for Excel

Creating Queries Using Hyperion Essbase Query Designer

So far, you have seen how easy it is to retrieve data and navigate through Hyperion Essbase Spreadsheet Add-in in an ad hoc fashion. Hyperion Essbase also provides a query designer so that you can define a database query for retrieving dimensions and database members into the worksheet. Hyperion Essbase Query Designer (EQD) is a new feature that replaces Retrieval Wizard, used to define queries in previous versions of Hyperion Essbase Spreadsheet Add-in.

Before Hyperion Essbase actually retrieves data, Hyperion Essbase Query Designer provides a series of panels so you can request the data that you want to view in the worksheet. It is particularly helpful when you know exactly which data you want to retrieve from the server. In addition, you can save a query and use it again.

The Hyperion Essbase Query Designer window consists of the following panels:

Creating and Changing Queries

To access any of the Hyperion Essbase Query Designer panels, select the appropriate feature listed in the navigation panel.

As you create a query or make changes to an existing query, the changes are reflected in the navigation panel. To view a dimension or a member of an open query, click on the specific dimension or member in the query outline that is displayed in the navigation panel. Selected members are displayed in the member selection panel on the right.

You can also revise an existing query in the member selection panel. For example, you can delete a member or add a member to the query by selecting a member in the navigation panel and making the appropriate changes in the properties panel.
Note:Files created in Retrieval Wizard can be opened in Hyperion Essbase Query Designer. However, if a query contains more than two member filters per selection rule or more than two data restrictions, the member filters may be out of order. To ensure correct results, rearrange the member filters in the navigation panel, if necessary. For complete information on Hyperion Essbase Query Designer options, see the Hyperion Essbase Spreadsheet Add-in online help.

Caution:
Manipulation of worksheets in VBA such as naming worksheets or moving worksheets may not work when EQD is running.

Creating Queries

To create a query using Hyperion Essbase Query Designer:

  1. Select Essbase > Query Designer.

    Hyperion Essbase displays the Hyperion Essbase Query Designer welcome panel.

    Figure 56. Hyperion Essbase Query Designer Displaying Welcome Panel


    Figure sdpanel not displayed.

  2. To create a new query, select [Book1]Sheet1, right-click, and select New > Query.

    Hyperion Essbase displays the layout panel of Hyperion Essbase Query Designer.

    Figure 57. Hyperion Essbase Query Designer Displaying Layout Panel


    Figure Sdlaypnl not displayed.

  3. Define the worksheet layout by dragging the dimension tiles as follows:
    1. Drag Market and Product to the Row location.
    2. Drag Measures to the Page location.
    3. Drag Scenario below Year (in the Column location).

    Figure 58. Changing the Worksheet Layout


    Figure sdlayout not displayed.

  4. To select the Measures dimension in the navigation panel, click the Measures icon. Alternatively, double-click the Measures tile in the layout panel.

    Hyperion Essbase displays the member select panel, where you can select a member from the Measures dimension.
    Note:You can select only one member from the dimension in the Page location.

  5. Select Profit, right-click, and select Add to Selection Rules. Alternatively, double-click Profit to add it to the selection rules.

    Profit is displayed in the selection rules list.

    Figure 59. Hyperion Essbase Query Designer Displaying the Member Select Panel


    Figure sdmmsel not displayed.

    Note:In Hyperion Essbase Query Designer, after you make your selections, you do not need to confirm them; for example, you do not have to click OK. If you do not select members from any given dimension, Hyperion Essbase uses the top member of the dimension.

  6. To select members of the Year dimension, complete the following actions:
    1. In the navigation panel, click the Year icon. Alternatively, double-click the Year tile in the layout panel.

      Hyperion Essbase displays the member select panel for the Year dimension.

    2. Select Qtr1, right-click, and select Add to Selection Rules.
    3. Add Qtr2, Qtr3, and Qtr4 to the selection rules in the same manner. Because Year is in a Column location, you can select one or more members.

      Figure 60. Adding Members to the Selection Rules


      Figure sdmmsel2 not displayed.

  7. To select members of the Scenario dimension, complete the following actions:
    1. In the navigation panel, click Scenario. Alternatively, double-click the Scenario tile in the layout panel.

      The members of the Scenario dimension are displayed in the member select panel.

    2. Select Actual, right-click, and select Add to Selection Rules.

      Actual is added to the Selection Rules box.

    3. In the same manner, add Budget to the Selection Rules box.
  8. To select members of the Product dimension, complete the following actions:
    1. In the navigation panel, click Product. Alternatively, double-click the Product tile in the layout panel.

      The members of the Product dimension are displayed in the member select panel.

    2. Select product code 100, right-click, and select Add to Selection Rules.
    3. Repeat the process for product codes 200, 300, and 400.
    4. In the Selection Rules list box, select product code 100, right-click, and then, from the popup menu, choose Select > Children.

      This action selects all children of 100. Hyperion Essbase displays All Children next to 100 in the Selection Rules list box.

    5. In the Selection Rules list box, select product code 400, right-click, and choose Select > Descendants.

      Hyperion Essbase displays All Descendants next to 400 in the Selection Rules list box.

      Figure 61. Selecting Members of Product


      Figure sdprdsel not displayed.

    6. To view the list of all product codes that will be retrieved into the worksheet, select any of the entries in the Selection Rules list box (for example, 200), right-click, and select Preview.

      Hyperion Essbase displays the Member Selection Preview dialog box.

      Figure 62. Selected Members of Product Dimension


      Figure sdprvw not displayed.

    7. Click Close to close the Member Selection Preview dialog box.
  9. To select members of the Market dimension, complete the following actions:
    1. In the navigation panel, click Market. Alternatively, double-click the Market tile in the layout panel.

      The members of the Market dimension are displayed in the member select panel.

    2. In the Member list box, select East, right-click, and select View by > Generation.
    3. To pick the second generation of the Market dimension, in the Member list box, select Region, right-click, and select Add to Selection Rules. Alternatively, double-click Region to add it to the selection rules.

      Region is displayed in the Selection Rules list box.

    4. To view the list of members that will be retrieved into the worksheet, in the Selection Rules list box, select Region, right-click, and select Preview.

      Hyperion Essbase displays East, West, South, and Central in the Member Selection Preview dialog box.

      Figure 63. Generation Name Selection


      Figure sdgenprv not displayed.

    5. Click Close to close the Member Selection Preview dialog box.

    You have now defined a basic Hyperion Essbase query. The outline of the query is displayed in the navigation panel.

  10. In the navigation panel, select [Book1]Sheet1, Query1, and then right-click and select Save Query.

    Hyperion Essbase displays the Hyperion Essbase Query Designer Save As Query dialog box. You can save your query to the server or to your own client machine. To save to the server, you must have a security level of database designer or higher. Contact the Hyperion Essbase system administrator for more information.

  11. Select Client.

    Figure 64. Hyperion Essbase Query Designer Save As Query Dialog Box


    Figure sdsavqry not displayed.

  12. Click the File System button.

    Hyperion Essbase displays the Save As dialog box.

    Figure 65. Save As Dialog Box


    Figure sdfile not displayed.

  13. Select a location, in the File nametext box, type Basic1 and then click Save.

    You will use the Basic1 query again in Chapter 3.

    Figure 66. Hyperion Essbase Query Designer Displaying Query Information Panel


    Figure sdinfo not displayed.

  14. In the navigation panel, select [Book1]Sheet1, Basic1. then right-click, and select Apply Query.

    The result of the query is displayed in the worksheet.

    Figure 67. Results of a Hyperion Essbase Query Designer Query


    Figure sdbasic1 not displayed.

Note:In the Display tab under Essbase > Options, if you select UseUse Styles and Use Sheet Options with Query Designer, the styles you selected for dimension members will be applied to the initial query results. If you do not select Use Sheet Options with Query Designer, even if you have selected Use Styles, they will not be applied to the initial query results. To apply styles, select Essbase > Retrieve. When Hyperion Essbase returns the data to the worksheet, you are free to further investigate the data by performing Zoom, Keep Only, Remove Only, and Pivot operations.

Deleting Queries

You can delete a query only from the location where you saved that query. For example, if you save a query in the /essbase/client/sample directory, you can delete the query from within the sample directory. You cannot delete the query from within Hyperion Essbase Query Designer.

Viewing Messages and Confirmations

Hyperion Essbase Query Designer displays messages and confirmations about certain actions, such as moves and deletes, in the messages and confirmations panel.

To turn on or turn off messages and confirmations:

  1. Select the Messages and Confirmations icon in the navigation panel.
  2. To turn on (enable) a message, select the check box that is displayed next to that message.
  3. To turn off (disable) a message, select the check box again (clear the check box).

Figure 68. Messages and Confirmations Panel


Figure sdmsgcfm not displayed.

Accessing Help

Access online help or the tutorial for Hyperion Essbase Query Designer by using the help panel. To access the help panel, in the navigation panel, select Help. For more information on a particular topic, click the Online Help button in the properties panel. To access the online tutorial, click the Tutorial button in the properties panel.

Figure 69. Hyperion Essbase Query Designer Help Panel


Figure Sdhelp not displayed.

Connecting to Multiple Databases from Hyperion Essbase Query Designer

You can connect to several databases and create separate queries on each database from Hyperion Essbase Query Designer.

To connect to multiple databases from Hyperion Essbase Query Designer:

  1. Logon to Hyperion Essbase and connect to the server you want to access.
  2. Select Essbase > Query Designer to open Hyperion Essbase Query Designer.
  3. Select [Book1]Sheet1, right-click, and select Connect.

    Hyperion Essbase displays the Essbase System Login dialog box.
    Note:The book may be a number other than 1. For example, it may be [Book5], if four worksheets are already open.

  4. Type your password, and click OK. Select Sample Basic, and click OK.
  5. Select [Book1]Sheet2 (or Sheet3), right-click, and select Connect.
  6. Hyperion Essbase displays the Essbase System Login dialog box.

  7. Type your password, and click OK. Select Samppart Company, and click OK.
    Note:You are restricted to one connection per worksheet. The connection information is displayed in the query information panel of the Hyperion Essbase Query Designer only when you open an existing query or create a new query.
  8. To create a new query based on Sample Basic, select [Book1]Sheet1, right click, and select New > Query.
  9. To create a new query based on Samppart Company, select [Book1]Sheet2, right-click, and select New > Query.
  10. To open an existing query, right click, and select Open Query.

You are now ready to proceed with the process of creating queries or opening existing queries.

Applying Worksheet Options to Hyperion Essbase Query Designer Results

You can also apply any of the worksheet options you have previously set from the Essbase Options dialog box to the results of a query created in Hyperion Essbase Query Designer.

To enable Hyperion Essbase Query Designer to use your previously set worksheet options:

  1. Select Essbase > Options.
  2. In the Essbase Options dialog box, select the Display tab.
  3. Select the Use Sheet Options with Query Designer check box, and select OK.
  4. Select Essbase > Retrieve to refresh the worksheet.

    Hyperion Essbase displays the results of the query you created in Hyperion Essbase Query Designer and implements your previously set worksheet options. For example, note that aliases, instead of the numeric codes, are now displayed for the Product dimension.

    Figure 70. Results of Query with Options Applied


    Figure Sdbsc12 not displayed.

  5. Select File > Close to close the worksheet. You do not need to save the worksheet.


[ Top of Page | Previous Page | Next Page ]