WebFOCUS Online Help > InfoAssist > Customizing and Styling Report Queries > Using Custom Reporting Features

Using Custom Reporting Features

How to:

You can use the following custom features when creating report queries in InfoAssist.


Top of page

Procedure: How to Add Page and Line Breaks to a Report

You can add page breaks and line breaks to report output for the primary sort field.

  1. Select a By (sort) field in the Query Design pane.

    The Field tab is displayed in the Control Panel.

  2. Select Page Break or Line Break from the Break group.
  3. Run the report.

If you selected Page Break, a new page is created every time the value of the primary sort field changes. Each page includes a new set of column titles, as shown in the following image.

Page Break report output

If you selected Line Break, a new divider line is inserted in the report output every time the value of the primary sort field changes, as shown in the following image.

Line Break report output


Top of page

Procedure: How to Add Subtotals to a Report
  1. Select a By (sort) field in the Query Design pane.

    The Field tab is displayed in the Control Panel.

  2. Select Subtotal from the Break group.
  3. Run the report.

Selecting Subtotal inserts a line, descriptive text (*TOTAL FIELD Value), and subtotals for all numeric fields every time the value of the primary sort field changes. The following image is an example of report output when you select the Subtotal option.

Subtotal report output


Top of page

Procedure: How to Add Column Totals to a Report
  1. Select the Home tab in the Control Panel.
  2. Select Column Totals from the Report group.
  3. Run the report.

Selecting Column Totals adds a grand TOTAL row at the bottom of the report that sums numeric data in each column, as shown in the following image.

Column Totals report output


Top of page

Procedure: How to Add Row Totals to a Report
  1. Select the Home tab in the Control Panel.
  2. Select Row Totals from the Report group.
  3. Run the report.

Selecting Row Totals adds a grand TOTAL column to the right side of the report that sums numeric data in each row, as shown in the following image.

Row Totals report output


Top of page

Procedure: How to Add Subheadings and Subfootings to a Report

You can add subheadings and subfootings to report output for the primary sort field.

  1. Select a By (sort) field in the Query Design pane.

    The Field tab is displayed in the Control Panel.

  2. Select Sub Head or Sub Foot from the Break group.
  3. In the Sub header or Sub footer dialog box that opens, type the desired text, style the text using the styling controls (if desired), and click OK.

    The following image shows the Sub header dialog box.

    Sub header dialog box

  4. Run the report.

Subheadings are displayed just below the column titles in the report output every time the value of the primary sort field changes. Subfootings are displayed at the end of the data on each page of the report output every time the value of the primary sort field changes. The following image shows how subheadings appear in the report output.

Subheadings report output


Top of page

Procedure: How to Add Pop-up Titles to a Report
  1. Select the Format tab in the Control Panel.
  2. Click Title Popup in the Features group.
  3. Run the report.

Selecting Title Popup displays pop-up titles when the mouse pointer hovers over any column title in the report output, as shown in the following image.

Title Popup report output


Top of page

Procedure: How to Add Data Visualization Bars to a Report

You can add data visualization bars to the report output for a selected numeric data source field.

  1. Select the desired numeric data source field in the Query Design pane.

    The Field tab is displayed in the Control Panel.

  2. Select Data Bars from the Specific group.
  3. Run the report.

A data visualization column is added to the right of the selected numeric data source field to display values in each row. The column uses horizontal bars that extend from left to right in varying lengths, depending on the corresponding data values. The following image is an example of report output when you select the Data Bars option.

Data Bars report output


Top of page

Procedure: How to Display Measure Data Using Aggregation Options in a Report

You can display numeric measure data using a variety of aggregation type values other than the default of Sum.

  1. Select the desired numeric measure data source field in the Query Design pane.

    The Field tab is displayed in the Control Panel.

  2. Select Aggregation from the Specific group, or right-click the selected measure field and select Aggregation Functions.
  3. In the Aggregation Functions drop-down menu that opens, as shown in the following image, the choices are Sum, Average, Count, Count Distinct, Percent of Count, First Value, Last Value, Maximum, Minimum, Total, Percent, Row Percent, and Average Square.

    Aggregation Functions menu

    If you change the Measure field container from Sum to Print, Count, or List, it overrides all assigned aggregation type values.

    The following image is an example of the MIN (minimum), MAX (maximum), and AVE (average) aggregation prefix operators added to measure fields in the Query Design pane.

    Aggregation prefix operators in Query Design pane

  4. Run the report.

    The following image is an example of report output produced by assigning the Minimum, Maximum, and Average aggregation options to measure fields in a query.

    Aggregation report output


Top of page

Procedure: How to Display Repeated Sort Values in a Report
  1. Select the Format tab in the Control Panel.
  2. Click Repeat Sort Value in the Features group.
  3. Run the report.

When you select Repeat Sort Value, all repeated sort values are displayed in the report output, as shown in the following image. This option overrides the default behavior, which displays blanks after the first instance of each new sort value that appears in the report.

Repeat Soft Value report output


Top of page

Procedure: How to Recalculate the Result of a Compute Command
  1. Select a By (sort) field in the Query Design pane.

    The Field tab is displayed in the Control Panel.

  2. You can recalculate the result of a Compute command either by:

    Selecting Recompute from the Break group as shown in the following image.

    Break group

    Or, selecting Recomputed Totals from the right-click menu on a sort field as shown in the following image.

    Subtotals menu

  3. Run the report.

WebFOCUS