Controlling the Display of Measures in a Report

In this section:

While you cannot add new measures to an OLAP report without returning to the original report request, you can adjust the display of the measures in the report in several ways. You can:


Top of page

x
Stacking Measures

How to:

When you have more than one measure in an OLAP report, you can stack the measures in separate rows within the same column to reduce the width of the report.

You cannot apply data visualization bar graphs to stacked measures.



x
Procedure: How to Display Stacked Measures
  1. Open the Control Panel.
  2. Select the Stack Measures check pane to display measures in separate rows under one column.
  3. Click Run to execute your report.

Tip: To restore the standard display, deselect the Stack Measures check pane and rerun the report.



Example: Displaying Stacked Measures

The following is an example of displaying stacked measures.

  1. Run the Standard Report OLAPREP4.

    Initially, this report is sorted vertically by Continent and Risk_Class and horizontally by Region, and the measures (Balance and CANADA_DOLLARS) appear as separate columns.

  2. For this example, you will not need the Region dimension, but you will need the Country dimension. You can quickly make these changes to the report:
    1. Right-click Region and select Delete from the menu.
    2. Right-click Continent and select Unhide from the menu, then select Country from the secondary menu.

      The report now displays data by Continent followed by Country, as shown in the following image.

      OLAP

      You wish to show the measure titles and data values in rows.

  3. Click the OLAP button on the band below the Selections pane to open the Control Panel.
  4. Click the Stack Measures check pane below the Measures pane, as shown in the following image.

    WebFOCUS OLAP Control Panel

  5. Click Run to execute the report and display the titles and values of the measures stacked over each other in separate rows, as shown in the following image.

    OLAP


Top of page

x
Changing the Order of Measure Columns

How to:

You can change the order in which measure columns are presented in the report.



x
Procedure: How to Reposition Measure Columns in an OLAP Report

To reposition a numeric column, drag and drop the field into a new column position.

The cursor changes to a plus sign (+) to indicate acceptable places into which you can drop the field. (Unacceptable positions are indicated by a circle with a slash cross the center.)



Example: Repositioning Measure Columns

The following is an example of repositioning measure columns.

  1. Run the Standard Report OLAPREP2.

    As shown in this image, the column for the Quantity measure precedes the column for the Line Cost of Goods Sold measure.

    OLAP

  2. To change the order of columns, drag and drop Line Costs of Goods Sold before Quantity.

    The cursor changes to a plus sign (+) to designate where you can drop the field. The report, as shown in the following image, now displays the Quantity column as its last column.

    OLAP


Top of page

x
Hiding and Displaying Measures

How to:

You can hide and expose measures from an OLAP report, the Selections pane, or the Control Panel.



x
Procedure: How to Hide or Expose a Measure From the Report

To hide a measure column, right-click the column title and choose Hide from the menu. The column is automatically removed from the display.

To expose a hidden measure column, right-click a displayed measure and choose Unhide from the menu. A secondary menu lists any hidden measures.

Choose the one you want to reexpose in the report.

Tip: If you want to add a new measure to the report, you must return to the original request and add the field there.



Example: Hiding and Exposing a Measure From the Report

The following is an example of hiding and exposing a measure from the report.

  1. Run the Standard Report OLAPREP2.

    The report includes two measures: Quantity and Line Cost of Goods Sold.

  2. Right-click the Line Cost of Goods Sold and choose Hide from the menu, as shown in the following image.

    Hide

    Note: The options available may vary, depending on your OLAP format settings. For more information, see Setting OLAP Reporting Options.

    The report runs and displays only the Quantity measure.

  3. Right-click Quantity and select Unhide.

    A secondary menu displays the hidden measure.

  4. Select LINE_COGS to redisplay Line Cost of Goods Sold, as shown in the following image.

    Line Costs of Goods Sold

    Note: The options available may vary, depending on your OLAP format settings. For more information, see Setting OLAP Reporting Options.

    The report now displays the Line Cost of Goods Sold column, as shown in the following image.

    OLAP



x
Procedure: How to Hide or Display a Measure From the Selections Pane
  1. Click the down arrow to the left of the Measures control to display a list of the measures in the report.
  2. Click the check pane next to a measure to display or hide it. The check pane toggles through three positions.
    • To hide the measure, click the check pane until it is blank.
    • To expose a hidden measure, click the check pane until you see a check mark.

Tip: You can use the same check pane to display a column of data visualization bar graphs for numeric measures. This setting is represented as a graph in the check pane. For details, see Visualizing Trends.



Example: Hiding and Exposing a Measure Column From the Selections Pane

The following is an example of hiding and exposing a measure column from the Selections pane.

  1. Run the Standard Report OLAPREP2.

    Because of the OLAP settings selected for this report, the Selections pane is hidden. For this example, you will need to expose it.

  2. Right-click QUARTER and select Show Panel from the menu.

    As shown in the following image, the report now looks like this: two measures (Quantity and Line Cost of Goods Sold) appear.

    OLAP

  3. In the Selection pane, click the arrow to the left of the Measures control to list the measures in the report. Notice that both measures are checked.
  4. To hide Line Cost of Goods Sold, click the check panel until it is blank, as shown in the following image.

    OLAP

  5. Click the Run button on the band below the Selections pane.

    Only Quantity now appears, as shown in the following image.

    OLAP

  6. Open the Measures control again and recheck Line Cost of Goods Sold, as shown in the following image.

    OLAP

  7. Run the report again.

    The output now looks as it originally did.



x
Procedure: How to Display or Hide a Measure From the Control Panel
  1. Open the Control Panel.
  2. In the Measures pane, click the check pane next to a measure to display or hide it. The check pane toggles through three positions.
    • To hide the measure, click the check pane until it is blank.
    • To expose a hidden measure, click the check pane until you see a check mark.

    Tip: You can use the same check pane to display a column of data visualization bar graphs for numeric measures. This setting is represented as a graph in the check pane. For details, see Visualizing Trends.

  3. Click Run to execute your report.

WebFOCUS