Skip to main content
Version: Next

Viewing Reports

Open a Report Builder report in the Reports section of Pimcore Studio. The user needs the permission reports and the report must be shared with the user. The viewer replaces the generic grid of custom reports and runs the report with the data permissions of the user.

Result Views​

The viewer picks the view from the visualization of the report:

  • List: a table with one row per element. Sort by the sortable columns and page through the rows.
  • Pivot table: groups as rows and columns with subtotals and totals. With two group fields, one in the rows and one in the columns, it is a cross-tab with row and column totals (by default the first group field forms the rows and the second the columns). Two group fields in the rows make a nested table with subtotals. More than 20 columns show the largest 20 and a column Other with the sum of the rest. Restricted columns and the column without a value are never folded into Other. A value that cannot be combined across groups is shown as not available.
  • Bar chart and line chart: one or two group fields. The group field in the rows forms the x axis, the one in the columns forms the series. While no axis is set, a date group forms the x axis.
  • Number: the value of a summary without group fields.

A summary report as a bar chart with its table:

Report view as a bar chartReport view as a bar chartReport view as a bar chart

A footer shows the number of matching elements and the time of the search. Reports of data objects and documents include unpublished elements by default, like the grids of Pimcore Studio do. The author narrows this with the configuration's fixed publishedState (published, unpublished or both, see Report Configuration Schema); it applies to every run of the report, also on the dashboard and through the MCP tools, and viewers cannot change it. It combines with conditions on published (all must match), so a report whose viewers should choose uses a parameter on published and leaves publishedState at both. A click-through opens its target report with the target's own publishedState, not the one of the report that was clicked.

Cells have three special states:

  • No value: the element has no value for the field.
  • Restricted: the cell stands for a related element the user may not view. A group of restricted elements keeps its count, so totals stay complete. It counts each element once, also when several of its related elements are restricted. Administrators see ids of elements that no longer exist, for example deleted assets in event data, as Deleted element (id 123); for everyone else they stay restricted.
  • Partly hidden: a cell with several related elements shows only the elements the user may view and is marked as partly hidden.

Parameters​

The parameters of a report appear in a bar above the result. Change a value to run the report again with it. A report with a required parameter that has no value does not run and names the parameters to set. Clearing an optional parameter removes its filter, even if the report defines a default.

Report view as a table with a parameterReport view as a table with a parameterReport view as a table with a parameter

A typed value, for example a number, applies after typing pauses, on Enter or when the input loses focus. A pending value is not lost when the input goes away. Other editors apply at once.

A parameter that compares a text, number, option, identifier or relation field, or a field of a related element, with an equals, not equals, in or not in condition offers a searchable drop-down of the values present in the data. It lists up to 500 values and shows "More values exist, refine your search" when there are more; typing narrows the list. The values come from the elements the viewer may see and that the report can show. Changing another parameter narrows the list. Long texts, dates and booleans keep their own input. When the values cannot be loaded, the list shows "The values could not be loaded".

A parameter uses the editor that fits the filtered field: a selection for options and relations, a date range for dates, a number of days, weeks, months, quarters or years for relative periods and yes/no for booleans.

Language​

A report that reads localized fields shows a Language select above the parameters; a report without localized fields has none. The select offers the languages the user may view and starts on the language the server runs the report in: the language of the report, else the language of the user (see Permissions and Limits). Choosing another language runs the report again in it, for the groups, filters, sorts, lists and the values the parameters offer. The choice lives in the open report only: it is not saved into the report and not remembered for the next time.

  • A report configured in a language the user may not view opens refused, as before; the user can run it in a language they may view by choosing it in the select. The select offers only the languages the user may view.
  • Fallback values count as the Generic Data Index holds them, see Building Reports.
  • The advanced filter names its language itself (name.de) and does not follow the select. An advanced filter that names a language the user may not view refuses the report, whatever the select says.
  • Saved filter values and parameter defaults on a localized field are values of one language and may match nothing after a switch.

Drill-Downs​

Values and rows that have a click action are clickable.

  • A click on an element opens it in Pimcore Studio.
  • A click on another report opens that report in the viewer with the parameters of the click set. A click can pass the clicked value or label, a value of the row, a parameter of the clicked report or the clicked period (the clicked range for a number group). If a value does not fit a parameter of the target report, the click shows the error. A breadcrumb above the report leads back to the previous reports. The target report runs in the language of the report that was clicked, because the clicked values are values of that language; the breadcrumb shows the language where it differs from the language the target report starts in.

Click actions to reports that are not shared with the user are hidden.

Notices​

The viewer shows a notice when a result is not complete or exact:

  • Only the first groups are shown because the report exceeds the group limit. Narrow the report with parameters or filters, or set a limit on the group fields.
  • Summary reports hide the group of elements without a value, on every group level, by default. A line below the result tells how many elements have no value, for example "440 cars have no Manufacturer". The note is absent when the report shows the empty group (Show elements without a value) or when no element lacks a value. The total count includes these elements. For a group field of related elements, an element counts as having no value when it has no related element or none of its related elements has a value.
  • Only the first rows of a list can be paged through.
  • Counts are inexact because elements with several values are counted once per value, because elements relate to several objects with the same value, or because the index has several shards.

CSV Export​

The CSV export of the report toolbar in Pimcore Studio exports the result as a flat table:

  • List reports export one column per field.
  • Summary reports export one column per group field, then one per value, with one row per group and without subtotals.
  • The column names are the field paths, count or <function>(<field path>). Repeated names get #2, #3.
  • Fields with several values are joined with , . Restricted values are exported as (restricted).

The export uses the default values of the parameters. It holds the values of the language the viewer shows (a language the user may not view is refused, no file is made). The column configuration of the report decides which columns the export contains. The builder keeps it in sync with the report.

List reports export every matching row in the order of the viewer, up to export_max_rows (default 10000) and the depth of the index. A report that matches more rows is not exported: the export stops with a message that names the matching rows and the limit. Filter the report with its parameters to export fewer rows. Summary reports export every group, or are not exported when their groups exceed the summary group limit: the message names the counted groups and the limit. See List Depth and CSV Export.

Large exports run in the background through the execution engine of Pimcore Studio. A background export runs with the permissions of the user who started it.