WebFOCUS Online Help > Managed Reporting End User > Creating a Report With Report Assistant > Defining Field Characteristics
To choose field options, select the field in the Sort across, Sort by, or Column (Sum/Print) box in the Field selection tab. Click Show field options to style each field in your report.
The following table lists and describes the available Field options in the Display, Sorting, Ranking, Subhead, and Subfoot tabs that appear for each selected field type. The ability to create a title in the Title tab is available for all field types. If a Field option tab is not available for a selected field type, "n/a" appears in the table.
Field Type |
Display |
Sorting |
Ranking |
Subhead & Subfoot |
---|---|---|---|---|
Sort across |
Make this field invisible check box Font button that opens styles dialog Drill down button that opens Drill down dialog |
Ascending/ Descending options Total check box |
n/a |
n/a |
Sort by |
Make this field invisible check box Font button that opens styles dialog Conditional styling button that opens conditional styling dialog Drill down button that opens Drill down dialog Include missing instances check box |
Ascending/ Descending options Total check box Create a page break check box (activates the 'And reset page number to 1' check box) Separate with underline check box Subtotal numeric sum/print fields check box (activates the Subtotal tab, and the 'And higher level sort fields' and 'Recalculate computed fields with subtotals' check boxes) |
Add Ranking column check box (activates the 'Limit the number of ranked values to' check box, and the Font button that opens styles dialog) |
Select Font type, size, and style. Select text alignment. Set text and background colors. |
Column (Sum/ Print) |
Make this field invisible check box Font button that opens styles dialog Conditional styling button that opens conditional styling dialog Drill down button that opens Drill down dialog Format in report as button opens change format dialog 'Calculated as' drop-down list adds prefix to column Include missing instances check box |
n/a |
n/a |
n/a |
You can use this table to determine which of the following options are available for a selected field in the Field selection tab:
Note:
The Field selections tab enables you to conceal the data of a selected field in a report. To suppress the display of a field:
In a report, you can include parent segment instances that lack descendants by attaching the ALL. prefix to one or more column fields, as follows:
Note:
To list sort field data in the report from greatest to smallest (descending) or from smallest to greatest (ascending):
If you have multiple sort fields, you can specify a different order for each one.
To start a new report page when the value of a selected sort field changes:
To display a subtotal for numeric data when a selected sort field changes:
Subtotals are activated for this report and the Subtotal tab appears to the right of the Subfoot tab. Note that the default *TOTAL title is displayed next to each subtotal value. For more information, see How to Include Display Titles for Subtotals.
Additionally, the following options are activated:
For more information, see Displaying Subtotals and Other Summary Values Using Prefix Operators.
When including subtotals, you can also specify display titles for them. These titles appear next to each subtotal in the report. The default subtotal display title is *TOTAL. To edit the default display title:
Note: If the Subtotal numeric sum/print fields check box is not selected, subtotals are not displayed in the report.
The Fields Options tab enables you to include subheads (which appear above) and subfoots (which appear below) for each of the sort field's records in the report.
Use the report field options section on the Field selection tab to change the field format for the Column field. The following image shows the Field selection tab with a field selected and the Field Options pane open.
Note: You can also edit the format by typing directly in the Format in report as field. This is not recommended unless you know the exact format because validation is not performed until run time.
For more information, see Changing a Field Format.
Use the styling options on the Field selection tab to style report fields.
The following image shows the Display tab of the Field Options pane.
Note: If you select a font property (font, style, size, text color, background color, or justification) and select the Title & Data option button, the changes will be reflected in both the Title Style and Data Style boxes.
However, if you then select a different parameter for a given property using the Title Only option button, the Title Style will change while the Data Style will not reflect this change. To change the Data Style, you must click the Data Only option button and then make your change. Likewise, if you select the Data Only option button and make a change, this change will not be reflected in the Title Style. You must click the Title Only option button to make your change.
Note: Clicking Reset returns the styling options to the following default settings:
When you click Drill Down in the report fields options section on the Field selection tab, the No action option button is the default. When you select Execute Procedure, a list of procedures contained within the Standard Reports folder displays. You can also select procedures from different domains. Analytical users creating Custom Reports also see a list of My Reports to select from.
The following image shows the drill down dialog box.
For more information, see Drill Down Dialog Box.
Along with Managed Reporting Administrators and Developers, end users can drill down to Standard Reports from within Reporting Objects and My Reports. End users can also drill down from My Reports to My Reports. However, the following limitations apply to the end user drill-down capability:
Note: The default functionality exists for all users.
Use the Conditional Styling dialog box to style records based on specified field values. Conditional styling, also referred to as stoplighting, enables you to define conditions that determine when to apply particular fonts, point size, text style, foreground and background color, and drill-down procedures to your report's data when the report is run.
You can style specified values for one or several column and sort fields. However, you cannot style values for sort across fields.
The Conditional Styling dialog box opens.
The following image shows the edit condition dialog box that opens where you begin to set the conditional styling.
You return to the Conditional Styling dialog box.
Parameters enable you to specify criteria and conditions for drill-down reports. By defining parameters, you can control the amount and type of information to retrieve when you click a hotspot.
The following image shows the Execute Procedure option button selected and the location and procedure name of the drill-down report (app/css.fex) in the Execute procedure field.
The following image shows the Drill Down Parameter dialog box, which contains a text box where you enter the name of the parameter, and option buttons to select the parameter as a field or a constant value.
Note: When passing parameters to a drill-down procedure, you must use local amper variables (&variables). Global amper variables (&&variables) cannot be used as drill-down parameters. Also, when entering your parameter name it is not necessary to type an ampersand (&) before the parameter name. This will create a global amper variable that cannot be used as a drill-down parameter.
Note: If the drill-down report contains a -DEFAULTS statement that sets a default value to the same amper variable passed from the main report, the amper variable value passed down overwrites the -DEFAULTS statement in the target procedure.
The parameter is added to the With Parameters list box as shown in the following image.
You can apply aggregation and sorting simultaneously to numeric columns in your report in one pass of the data using the Total sort option. The Total option is available for Sort by and Sort across fields. For the Total sort option to work correctly, you must have an aggregating display field, such as Sum, in the report. A non-aggregating display field, such as Print, simply retrieves the data without aggregating it.
Note: When you add a computed field to the Sort by field, it is automatically given the Total property.
The following image shows the PRICE field with the Total option selected in the Field options.
To rank report data using the Total option on the Sorting tab, perform the following steps:
Tip: Select the Descending option to make the largest number the first row of ranked data in the report. The default sorting option is Ascending, which ranks the smallest number first.
Optionally, in the text box, type a custom title for the ranking column. The default title is RANK.
Note: For the Total sort option to work correctly, you must have an aggregating (numeric) display field, such as Sum.
The Subtotal tab enables you to display subtotals, and other summary values using prefix operators, for any or all of the numeric fields, including computed fields, for a selected Sort by field in a report query. You can choose to display subtotals for all numeric fields whenever a selected Sort by field value changes, or you can select to display subtotal and other summary values for a subset of the numeric fields.
In the Subtotal tab, as shown in the following image, you can customize the title text used to display subtotals and other summary values, and suppress subtotals for sort fields that have only a single value, in addition to working with prefix operators.
To access the Subtotal tab to apply subtotals, prefix operators, and modify other subtotal text and settings, perform the following steps:
Note that the Sum prefix produces the same subtotal results as not selecting a prefix operator.
All of the available prefix operators are listed and described in the following table:
Prefix |
Description |
Displayed in Prefix List |
---|---|---|
SUM. | Compute the sum of values | Sum |
ASQ. | Compute the average sum of squares | Average Square |
AVE. | Compute the average value | Average |
CNT. | Count the items | Count |
FST. | Select the first value only | Show first in group |
LST. | Select the last value only | Show last in group |
MAX. | Select the maximum value only | Maximum |
MIN. | Select the minimum value only | Minimum |
When Apply totals to all columns is selected, options for all individual fields in the Columns area are inactive by default.
WebFOCUS |