Fields
The following topics explain more about fields:
Adding fields
To include a field in your table simply drag the field from the View Fields List, on the left of the page, to the Columns and/or Rows lists.
- Locate the fields you wish to use either by;
- Keyword Search at the top of the View Fields List
- Opening the field categories they are located in
Select the field by clicking on it. If you have multiple fields to add hold down the Ctrl or Shift keys while selecting the fields.
Info
(For Microsoft SQL Server database) When adding an nText type of field to a report, do not use an aggregate field or DISTINCT data type. Otherwise, the following error is displayed:
An exception occured: ERROR (552): The SQL database operation failed.; The ntext data type cannot be selected as DISTINCT because it is not comparable.. Please check the SQL syntax and try again.
Also ensure that you select the Show Duplicates option to avoid an error. A list of nText fields is available here.- (For Oracle database) When adding a Character Large Object (CLOB) type of field to a report, do not use an aggregate field or DISTINCT data type. Otherwise, the following error is displayed:
An exception occured: ERROR (552): The SQL database operation failed.; ORA-00932: inconsistent datatypes: expected - got CLOB . Please check the SQL syntax and try again.
Also ensure that you select the Show Duplicates option to avoid an error. A list of CLOB fields is available here.
- You will now see a preview of the table. Continue adding fields as required.
Removing fields
There are two ways to remove a field from your table:
- Select the field in the Columns/Rows list it's placed in, open the drop down menu and select Delete.
- Select the field in the Columns/Rows list it's placed in, and drag it to an area of the page that cannot contain a field.
Reordering fields
There are two ways to reorder fields in your table:
- Select the field in the Columns/Rows list it's placed in, and drag it to its new position.
- Select the field header in the Table Preview area, and drag it to its new position.
Field types
The fields available in the BMC Remedy Smart Reporting semantic views list are mapped to the fields existing on the AR system forms. Some of the field names in the views list do not match with the field names in the AR forms. To know the field mapping, see field mapping details.
Type | Description |
---|---|
Dimension | These are typically text or date fields and are used to describe the data. |
Metric | These are the numeric values to be measured in the report. For example, sales sum, customer count, event count, average age. |
Pre-defined filter | These are fields defined in the view to be used as filters in the report with pre-defined values attached, saving the user time defining the same filters over multiple reports. |
Filter Group | These are like the pre-defined filters above, but are sets of filters, some of which may be set to user prompt rather than having set values. |
Parameter | These are fields used to capture a value from the user which is then passed through to calculated fields or filters in the report. |
Layout options
There are three types of table layout available:
Layout | Description |
---|---|
Column | The most common form of table output, all fields added are displayed as a column in the table layout, with the field name used as the column header. |
Row | A variant the column layout, all fields added are displayed as a row in the table layout, with the field name used as the row header. |
Cross Tab | A special layout that allows you to summarize data by using both Column and Row headers with Metric fields making up the body of the table. This display is sometimes referred to as a Pivot. |
See Table layouts for more information.
Data validation
Data validation checks are made by BMC Remedy Smart Reporting to ensure you are building your report the way in which the administrator intended. You will be prompted if you have used fields and filters incorrectly with the following messages:
Mandatory fields — A variation of the mandatory field section validation is when a selected field in the table is being aggregated by sum or average. Constraints can be set when this occurs so that meaningful data is presented in the report. To proceed with your report you can remove the sum or average aggregation on the selected field or drag the relevant fields indicated in the validation message into the report.
Excluded — The fields shown in this type of message must not be included into the field or filter section of the report when a selected field in the table is being aggregated by sum or average. Constraints can be set when this occurs so that meaningful data is presented in the report. To proceed with your report you can remove the sum or average aggregation on the selected field or remove the relevant fields indicated in the validation message out of the report.
Suggested — When a suggested field or filter occurs, a messages box will appear with the suggestion. The user can chose to include this field or filter into the report or to ignore the suggestion.
In list — When constraints are set up on a report, one of the options is to select a few fields from a table and set the constraint as one in list. This means that at least one of the selected fields must be included in the report. When this validation message is displayed it will show the list of all the fields where at least one must be included in the report. To fulfill this constraint simple make sure one of these fields are included in the report.
See Constraints and semi additive fields for more information.
Comments
Log in or register to comment.