Create and Format Crosstab Reports

<< Click to Display Table of Contents >>

Navigation:  Professional > Reports > Crosstab Reports >

Create and Format Crosstab Reports

Configuring the Crosstab

Running the Crosstab

Other Crosstab Actions

 

Any EQuIS Professional grid report output can create a crosstab report. For troubleshooting, see Troubleshooting Published Crosstabs.

 

Notes:

Crosstab reports can potentially be created from any data in EQuIS Professional grid output such as tables, views, or even output from another Crosstab. However, non-grid report data are not fully supported, and not all features may be available or work correctly.
 

In some cases, using a single "custom" filter on a column can lead to an incomplete export. Specifically, if a custom filter includes a condition based on another field in the table, then the filtered results may not be exported in their entirety. There may be additional conditions that lead to this behavior as well. At this time, we advise against using custom filters prior to clicking the Crosstab button. EQuIS 7.22.2 resolved this behavior for exporting a crosstab with 'Group By' on a row header and filtered by row headers.

 

The example shown here uses the Analytical Results II Report on the Springfield dataset using the following parameter selections.

 

Parameter

Selection

Location Group

MonitWells

Sample Matrix

WG

Result Analyte Group

_PERC

Result Unit

ug/L

 

To create a Crosstab report from the grid output in EQuIS Professional, click the Crosstab button:

15068-CrosstabButton

 

This opens the Crosstab Configuration Form:

15068-CrosstabForm

 

Configuring the Crosstab

 

The Crosstab Form has the following sections:

Available Columns

Column Header(s)

Row Header(s)

Tabbed Data

Options

 

Available Columns

 

15068-AvailableColumns

 

All of the fields for the report appear in the Available Columns list below the Report Name as shown above. Use the search bar at the top of the list to quickly find fields from the report.

 

Notes:

Previous builds showed Available Columns as the label for this section. The label now shows the name of the report from which the Crosstab report is being created: either the System report name, the System report name with the appended parameters, or the saved user report name, if used.

To make a REMARK field available in a crosstab, add multiple REMARK fields to your base report. A REMARK field from standard report output could override a single REMARK column from Additional Fields. When multiple REMARK fields from different tables are included as Additional Fields, they automatically appear with unique names (formatted as TABLE_NAME_REMARK) in the crosstab selection list.

 

Drag and drop the desired fields in the appropriate location (Column Header(s), Row Header(s) or Tabbed Data section). Select multiple fields with Shift and/or Ctrl keys while selecting fields.

 

This example uses the following report columns in the following sections.

 

Parameter

Selection

Column Headers

CHEMICAL_NAME

Row Header

SYS_LOC_CODE

SYS_SAMPLE_CODE

Tabbed Data

REPORT_RESULT_TEXT

REPORT_RESULT_UNIT

 

Remove any field that has been added to a section by selecting the field in that section and pressing the Delete key on your keyboard. A confirmation dialog will appear.

 

Column Header(s)

 

15068-ColumnHeaders

 

Each column header will appear as a row across the top of the resulting report for every unique combination of column header values in the report.

 

The help article Column Headers and Row Headers offers information related to the options in this section.

 

Row Header(s)

 

15068-RowHeaders

 

Each row header will appear as a column down the left side of the resulting report for every unique combination of row header values in the report.

 

The help article Column Headers and Row Headers offers information related to the options in this section.

 

Tabbed Data

 

15068-TabbedData

 

The fields selected in the Tabbed Data section make up the body of the report. Each selected field will appear as a column for each corresponding distinct column header value. Each row in these columns will be ordered according to the corresponding row header values.

 

For more information, see Tabbed Data.

 

Options

 

15068-Options

 

Customize the crosstab output here as described in Crosstab Options.

 

Running the Crosstab

 

Click Go Arrow right - 08(1) to run the Crosstab.

 

In this example, the following Crosstab report is the result. It outputs to multiple tables, separated by TASK_CODE. Each tab has the CHEMICAL_NAME column header at the top, the SYS_LOC_CODE and SYS_SAMPLE_CODE row headers to the left of the main report columns, and the REPORT_RESULT_TEXT and REPORT_RESULT_UNIT tabbed data columns per each column header value.
 

15068-Output

 

Note: When you run the crosstab, you may find what appear to be duplicate values in the tabbed data section of the crosstab. These cells will be highlighted in the Crosstab report as shown below.

 

Duplicate Values

Duplicate Values

 

This can occur when a value that would make a result unique (i.e. SYS_SAMPLE_CODE, FRACTION, START_DEPTH, MATRIX, SAMPLE_DATE, etc.) is not included in either the Column Header or Row Header sections of the crosstab. Duplicates will not necessarily have the same value.

 

To resolve this, return to the Crosstab configuration, and add a Column Header or Row Header to make these values distinct.

 

If you do not want any further row or column headers to distinguish the values in the tabbed data, use an aggregate to have a single value.

 

Other Crosstab Actions

 

The toolbar at the top of the Crosstab Form and output provide the following functionality.

 

Config Toolbar: 15068-Toolbar   Output Toolbar: 15068-ToolbarOutput

 

Button

Name

Config / Output

Description

OpenFile

Open

Both

Open a previously saved Crosstab configuration (*.xml file).

Save-01

Save

Both

Save the current crosstab configuration for later use.

Arrow right - 08

Go

Config

Run the Crosstab (create Crosstab table(s) based on current configuration).

Arrow left -08

Go Back

Output

Go back and view/edit the current Crosstab configuration.

Publish FormReportCrosstab-Data-Export(32)

Publish

Both

Publish the Crosstab report to the database. Clicking this will open the Crosstab Publisher Form.

Filter-Standard-32-green

Filter

Output

Adds filters to table column headers

Filter-New(1)

Removes filters from the columns

Pin(1)

Pin

Output

Pin columns for easier horizontal scrolling within Crosstab Report.

Binoculars-02(1)

Find

Output

Find and Replace tool

Settings-32-green

Properties

Output

Opens a Properties pane to the left of Crosstab output. The Properties pane displays advanced display options for the currently selected row, column or cell in the Crosstab output table.

Release Data-Recycle-Bin(32)

Release

Output

Release source data to reduce memory usage.

Crosstab-Windows-08-WF(32)

Crosstab

Output

Create a crosstab from the current output.

Various

Export

Output

Export buttons only show one at a time. Click the down arrow next to the displayed export button to see the full list of export options.

 

Excel Export (1)

Export the Crosstab report(s) to Excel.

GoogleEarth32

Export the Crosstab report(s) as a Google Earth file. The Crosstab must include SYS_LOC_CODE, LATITUDE, and LONGITUDE fields as Row Headers.

microsoft_outlook32

Export the Crosstab report(s) as an Excel file attachment in an email message in Outlook.

.PDF Export(1)

Export the Crosstab report(s) as a pdf file.

Access(1)

Export the Crosstab report(s) as an Access file.

File Next-WF(1)

Export the Crosstab report(s) as a text file.

Check Mark(1)

Toggle whether to open the newly created file after exporting. If set, icon will be highlighted by a surrounding box.

Graph-01

XY Chart

Output

Click to create an XY chart with crosstab results. Refer to the help articles below for more information about XY charts.

 

XY Chart Basics: Create, Clear, Save & Load Charts and Parameters

Export Charts

Remove Series from Charts
 

Graph-02

XYZ Chart

Output

Click to create an XYZ chart with crosstab results. Refer to the help article Create and Export XYZ Chart for more information about XYZ charts.