Using Custom Reporting Features

How to:

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


Top of page

x
Procedure: How to Rank Fields in a Report

You can add rank columns to BY and Measure fields in a Report by using the Rank button in the Sort group. Adding a rank column to a BY field will insert a rank column immediately to the left of the field. Adding a rank column to a Measure field will create a copy of the column as a BY field and add a rank column to the left of the new BY field.

Note: The rank option can also be accessed by right-clicking on a BY or Measure field and accessing the Rank option through the context menu.

  1. Select a By or Measure field in the Query Design pane.

    The Field tab is displayed in the Control Panel.

  2. Select Rank from the Sort group. A rank column will now appear, as shown in the following image.

    InfoAssist Rank example

    Note: The rank column can now be edited and formatted like any other column, with the following exceptions:

    • The only formatting that can be applied is Traffic Light Conditions.
    • It cannot be hidden.
    • You cannot insert breaks or a filter.
    • No column can be moved in between the rank column and the column it is ranking.

Top of page

x
Procedure: How to Limit the Variables of a Column in a Report

You can limit the number of unique variables that appear in a column using the Limit drop-down menu available in the Sort group of the Fields tab when a column is selected.

Note: The Limit option can also be accessed by right-clicking on a column and accessing the Limit option through the context menu.

  1. Select a By or Measure field in the Query Design pane.

    The Field tab is displayed in the Control Panel.

  2. Enter a number or select a number from the Limit drop-down menu in the Sort group. The field will now be limited to the entered number of unique values.

Top of page

x
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 select 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 select 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

x
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

x
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

x
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

x
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

x
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

x
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

x
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 report.

    Aggregation report output


Top of page

x
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

x
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

    Note: Recompute is not available for ACROSS fields.

  3. Run the report.

    The following image shows a calculated field name Diff, which is the difference between Dollars and Buddollars. This value is then recomputed for each sort break on region. The recomputed value is the difference between the totals for Dollars and Buddollars.

    Report with recomputed values


WebFOCUS