AX1835
Configuring column properties for a web report
The column properties define the presentation of each column in the grid. Using the column properties, you can configure:
- Display properties such as header text, column width, alignment, and number formatting
- Data properties such as column filters, alternate aggregation, and display formats for data
- Grid behavior properties such as inclusion in the total row, and whether end users can sort and filter using the column
In the Report Builder, the column properties are defined in the right-hand Configuration Panel. The column properties can be defined for both table columns and calculated columns.
To configure column properties for a column in a web report:
-
On the Build tab of the Report Builder, in the Report Canvas, click a column name in either the Row Dimensions box or the Column Definitions box to select that column.
-
Complete the Column Configuration properties that display in the Configuration Panel.
The column configuration properties are separated into two tabs:
- General: Basic column properties that should be reviewed and configured for all columns in the grid.
- Advanced: Advanced column properties to be configured as needed.
General column properties
The following column properties are available for web reports on the General tab of the Column Configuration panel. These properties apply to table columns, calculated columns, and dynamic columns.
Item | Description |
---|---|
Column or Calculation or Default Column |
The following information displays at the top of the panel to identify the column:
|
Dynamic column parameter |
The Column List report parameter to associate with the dynamic column. Only applies when the current column is a dynamic column. For more information, see Using Column List report parameters. |
Header |
The header text to display on the column header. Enter the desired header text.
If the column is a dynamic column, the header text is defined in the Column List parameter settings, for each column that is available to be selected. Within the Report Canvas only, the dynamic column displays using the header Dynamic. |
Column width |
The width of the column in the grid, in pixels. Enter the desired column width as a whole integer between 30 and 600. The default width depends on the column data type, and is configured at the grid level. If you do not enter a custom width, then the default width displays in the Column width box in gray text. If you leave this default width and the grid-level defaults are changed, then column will update to use the new default width. For more information, see Configuring grid properties in a web report. |
Alignment |
The alignment of the column values. Select one of the following: Default, Left, Right, Center. The default alignment depends on the column data type, and is configured at the grid level. If a column is set to use Default and the grid-level defaults are changed, the column will update to use the new default alignment. For more information, see Configuring grid properties in a web report. |
Number Format |
Select Formatting Properties to work with number formats. The number format used by the column. Only applies to columns that hold numeric data. Select one of the following:
This option is not available for use with dynamic columns. |
Aggregation
|
Select Data Properties to configure Aggregation. The aggregation type used to aggregate data queried from the database column. Does not apply to calculated columns or to columns used as row dimensions. If you want to override the default aggregation type for a database column, select an aggregation type. |
Data filter |
Select Data Properties to configure the optional Data filter. Defines a filter to limit the data shown in this column. The column-level data filter should be used instead of a grid-level data filter when you want the filter to impact just this column. For more information, see Using column filters. |
Enable filter |
Specifies whether report viewers can filter the report based on the column contents.
This property does not apply to any column in the grid if Use fixed rows is enabled in the Grid Configuration properties. Fixed row reports do not support end-user column filtering. |
Hide column |
Specifies whether the column is hidden in the report. Does not apply to columns used as row dimensions.
|
Select Display Properties to work with configure the description text. Specifies whether you want descriptions to display for dimension values. This option only applies to key columns, alternate key columns, and validated columns that have an associated description column.
NOTE: If the dimension table has multiple description columns (meaning columns where Describes Key is True), then the first description column is used. If the column is a dynamic column, then this option will be applied when the currently selected column has a description column, and ignored when it does not. |
|
Include in total row |
Specifies whether the column is included in the total row, if a total row is enabled in the Grid Configuration properties. Does not apply to columns used as row dimensions. Select one of the following:
If a column is included in the total row, it is treated as follows:
This option does not apply if Use fixed rows is enabled in the Grid Configuration properties. Columns will be included or excluded in subtotal or total rows using the default behavior. |
Date part to retrieve |
Specifies the date or date-time part to retrieve, if the column is a Date or Date Time column. For example, you can return the full date value, or just the year or month, or the fiscal year or month. For more information, see Date part and format options. |
Date format |
Specifies the format to display the date values, if the column is a Date or Date Time column. The available format options depend on the specified Date part to retrieve. For more information, see Date part and format options. The label and visibility of this setting varies depending on the selected date part. For example, if you select Month as the date part, then the label for this setting is Month format. If you select a date part that does not have any formatting options, such as Year, then this setting is hidden. |
Advanced column properties
The following column configuration properties are available for web reports on the Advanced tab of the Column Configuration panel. These properties apply to table columns and calculated columns. Dynamic columns do not use these properties.
Header Properties
Item | Description |
---|---|
Header text (row 1) |
The header text to display on the column header. Enter the desired header text. NOTES:
|
Header text (row 2) |
The header text to display on the second row of the column header. Enter the desired header text. This property is only available if Multi-row header has been enabled. |
Multi-row header |
Specifies whether the column header has multiple rows:
Keep in mind that enabling a multi-row header is different than wrapping header text. If you enable multi-row headers, then you can define two separate rows of header text. A line break separates each row. If autowrap is enabled, then each row of header text wraps individually. If you just want a single row of header text that wraps, you can leave this option disabled and then enable Autowrap header text. |
Autowrap header text |
Specifies whether header text wraps:
|
Header alignment |
The alignment of the header text. Select one of the following: Default, Left, Right, Center. All column headers use Default alignment by default. By default, the header text uses the same alignment as the column contents (as determined by the Alignment property on the General tab). If you leave the header alignment set to Default, then the header alignment will adjust to match the column alignment. If, however, you want the header alignment to be different than the column alignment, you can configure this property. |
Link Properties
For more information on using hyperlink columns in web reports, see Displaying hyperlinks in web reports.
Item | Description |
---|---|
Enable link |
Specifies whether the column displays hyperlinks. Select this option if you want each row of this column to contain a hyperlink that dynamically incorporates the current column value. If this option is enabled, then the additional link properties in this section become available; otherwise they are hidden. |
Link type |
Specifies the type of link to display in the column:
NOTE: This option only displays if the report meets the requirements to support plan file links. Otherwise, all links are custom links by default, and this option does not display. |
URL |
Specifies the URL to use in the hyperlink column. Enter a relative location in the Axiom system. The URL can use variables as needed so that the URL value is dynamic per row of the report. For example, imagine that the report contains the key column of a plan code table (such as Dept), and you want each plan code to link to the Process Routing page for a particular plan file process. The full URL to the Process Routing page uses the following syntax: https://mycompany.axiom.cloud/process/processdefinitionID/planfile?planvalue=plancode The process definition ID will be constant for the URL, but the plan code value needs to be the current row's department value. The /process/16682/planfile?planvalue={value} NOTE: The relative URL can be entered with or without the beginning forward slash. When the report is viewed, the column will resolve to use the full URL with the current column value. For example, the row showing Dept 22000 will have the following URL: https://mycompany.axiom.cloud/process/16682/planfile?planvalue=22000 When the user clicks on the hyperlink in this row, they will be taken to the Process Routing page for Dept 22000, for the plan file process associated with process definition ID 16682. NOTE: The URL property only displays if the specified link type is custom, or if the Link type option is not present because all links in the report are custom. When using the plan file link type, the URL to the plan file is automatically generated by Axiom. |
Link text |
Specifies the display text for the hyperlink column. Enter the desired text, using variables as needed. Keep in mind the following:
|
Link tooltip |
Specifies the tooltip to show when a user hovers the cursor over the hyperlink. Enter the desired text, using variables as needed. The same variable behavior noted previously for the Link text property also applies to this property. |
Open link in new tab |
Specifies whether the hyperlink opens in the same tab (replacing the report) or in a new tab. By default, the hyperlink opens in the same tab. Enable this option if you want the hyperlink to open in a new tab. |
The Data filter property can be used to filter the data coming into a particular column. This filter only impacts the data in the current column; it has no impact on the rest of the report.
To filter the data in the current column:
-
Click the Edit link over the Data filter box to open the Filter Wizard.
-
In the Filter Wizard, create the filter as needed. For more information on how to use the Filter Wizard to create a filter, see Using the Filter Wizard in the Report Builder.
The tables available in the Filter Wizard depend on whether the current column is a table column or a calculation, and the primary table specified as the Data Context of the report:
-
If the current column is a table column, the Filter Wizard shows that table and its dimension tables.
-
If the current column is a calculated column, the Filter Wizard shows the following tables:
-
If the calculated column only uses columns from a single table, the Filter Wizard shows that table and its dimension tables.
-
If the calculated column uses columns from multiple tables, and the primary table is a data table, the Filter Wizard shows the common dimension tables for the tables involved in the calculation.
EXCEPTION: If the calculation includes a column from a dimension table, then the Filter Wizard shows the common dimension tables for all related tables used in the report, regardless of whether the related table is used in this particular calculation.
-
If the calculated column uses columns from multiple tables, and the primary table is a reference, the Filter Wizard shows the primary table and its dimension tables.
EXCEPTION: If the calculation only consists of columns from related tables (no columns from the primary table or dimension tables), then the Filter Wizard shows the common dimension tables for all related tables used in the calculation.
-
You can create a filter using any column on the available tables. If you choose to use a predefined global filter from the Filter Library, the global filter must be based on the same eligible table columns.
-
-
Once the filter statement is complete, click OK to close the Filter Wizard and add the filter to the Data filter box.
Once a filter has been defined for a column, you can modify it as follows:
-
To edit the filter, click the Edit link over the Data filter box again and change the filter within the Filter Wizard.
-
To delete the filter, click the Clear link over the Data filter box.
Data filters defined at the column level are combined with any filters defined at the column group level and at the grid level. All relevant filters are combined using AND to determine the data that can display in a particular column.
If a column has a defined filter, then a filter icon displays next to the column name in the sample grid of the Report Canvas. This icon is intended to let report builders know about the column filter at-a-glance. The icon does not display in the report viewer.
NOTES:
- If a data filter is defined for a calculation, the filter is applied to the columns referenced in the calculation, then the calculation occurs.
- Column-level data filters cannot be defined for columns used as row dimensions. To limit the rows shown in the grid, use a report-level filter in the Report Configuration properties.
Frequently asked questions
I defined a column filter but it isn't impacting the grid data as I expected—why do I still see rows that don't match the column filter?
A column filter only filters the data coming into that specific column. If you want to define a filter that impacts the entire report, including the row data, then you should define a filter at the report level. Select the report title and then use the Report Configuration properties to define one or more Report filters.
To illustrate the difference, imagine the following uses of a filter to only show data from the West region:
-
Report: When the general filter
Dept.Region='West'
is defined for the report, the entire grid is filtered to only show data from the West region. Row dimension values (such as departments) will only display if they belong to the West region, and column data is limited to only show data for the West region. -
Column: When the filter
Dept.Region='West'
is defined on a column, that single column is filtered to only show data from the West region. Other columns and row dimension values are not limited by this filter. You might do this if you want to create a report that shows the different region data in different columns, such as to compare data from the West, East, North, and South regions side-by-side.