Skip to main content

13.1.1 Basic Report Example

In this chapter, we will create a report using data from a single module, applying filters and aggregations to the displayed information.



Prerequisites

Before creating a report, it is essential to have a good understanding of the available data structure. Otherwise, you risk designing a report without knowing whether a specific piece of information is actually stored in the CRM. It is also very important to know the exact field names and the modules in which the information is stored, as these elements are crucial when defining filters, aggregations, and data processing logic.

For example, it is important to know whether a filter is applied to a free-text field or a picklist field, since the methods used to search, group, and aggregate data may differ significantly.

A solid understanding of the data structure enables you to design more accurate reports and helps avoid subsequent revisions caused by missing information or incorrect interpretations of the available

Report Requirements

The example report will be based on the Accounts module. Its purpose is to analyze the companies created during the current year, limiting the results to companies located in Italy and Poland, and belonging to the Engineering and Healthcare sectors.

This report is useful for the Sales department to monitor business performance in these two countries and within these specific industries.

The data will be aggregated using the following fields:

  • Assigned To (the user responsible for the account record)
  • Country (the country where the account is located)
  • Type (to analyze the types of companies created)

    Let's Get Started!


Report Creation

Step 1 - Report Details

Create the report by entering a name that clearly and concisely describes its purpose or content.

Next, select the folder where you want to save the report in order to maintain proper organization of the reports available in the system.

In the Description field, it is recommended to provide a brief explanation of the logic used in the report, including information such as:

  • the filters applied;
  • the aggregations used;
  • any specific conditions or calculation criteria.

Documenting this information makes the report easier to understand over time and allows other users to quickly grasp its purpose, logic, and functionality.

Image

Step 2 - Report Type

This topic will be covered in greater detail in Step 6 - Select Columns and later during the report analysis phase.

The goal is to better understand the differences between the two main report types:

  • Tabular Report, which displays the details of individual records;
  • Summary Report, which aggregates data based on the selected fields and provides summaries, counts, and statistics (available in the Summary tab).

Step 3 - Date Filter

In this step, we configure the first filter condition based on a date field.

In our example, we select the Creation Date field and set its value to the dynamic filter Current Fiscal Year.

Using dynamic values is particularly important because it allows the report to update automatically over time.

image

Step 4 - Advanced Filters

Next, we will filter the data by creating two separate groups of conditions:

  • Italian companies belonging to the Healthcare sector;

  • Polish companies belonging to the Engineering sector.

To achieve this, create two distinct filter groups:

Group 1

  • Country = Italy

  • Industry = Healthcare

Group 2

  • Country = Poland

  • Industry = Engineering

The two groups must then be connected using the OR logical operator, since we want to include companies that meet either of the two conditions.

In other words, the report will display:

  • all Italian companies in the Healthcare sector;

  • all Polish companies in the Engineering sector.

Using condition groups makes it possible to create more advanced filters and correctly combine different criteria within the same report.

It is important to carefully choose the logical operator and filter condition based on the type of field being queried.

For text fields,fields, where the same value may be entered in slightly different ways, it is generally recommended to use the Contains operator. This approach makes the filter more flexible and increases the likelihood of capturing all relevant records.

In contrast, for picklist fields,fields, it is recommended to use the Equals operator, since the available values are predefined and stored consistently. In this case, using Equals provides more accurate and efficient results.

Choosing the appropriate filter operator is essential to obtain reliable results and avoid unintentionally excluding relevant data or including records that do not match the intended criteria.

imageimage

Step 5 - Top-Down Segmentation

For this report, it is not necessary to create any clusters, so this step can be skipped.

The cluster functionality will be explored in greater detail in the Advanced Reports section, where it becomes particularly useful for segmenting and classifying data according to more complex criteria.

Step 6 - Select Columns

In this step, we select the columns that we want to display in the report.

For this example, all columns will be selected from the Accounts module using the drop-down menu available in Step 6.

Once you have selected the desired fields, it is important to click the Add Selected button to include them in the list of report columns displayed in the lower section of the page.

The selected columns will determine which information is available for display, grouping, sorting, and aggregation within the report.

image

It is at this stage that one of the main differences between a Summary Report and a Tabular Report becomes apparent.

With a Summary Report,Report, you can:

  • aggregate data based on the selected fields;

  • decide whether to include fields in the Summary tab;

  • generate counts, totals, and grouped data views.

With a Tabular Report,Report, these capabilities are not available.

A tabular report simply displays a list of records that match the defined criteria, without performing any data aggregation. In practice, the result is very similar to an export of filtered data, where each record is displayed individually.

For this reason, when the goal is to analyze trends, counts, or grouped information, a Summary Report is generally the preferred option. Conversely, when you need to view the complete details of individual records, a Tabular Report is the more appropriate choice.

Example of column selection in Step 6 for a Tabular Report (no column aggregation available)

image

Example of column selection for a Summary Report (with the ability to group data by a column and include it in the Summary tab)

image

In this example, we aggregate the data by Assigned To in order to determine how many companies are managed by each user.

Next, we add a second level of aggregation based on the Country field to understand the geographical distribution of the companies assigned to each user.

Finally, we introduce a third level of aggregation using the Type field, providing an additional classification of companies within each country.

The result is a hierarchical structure that allows us to analyze:

  • how many companies are assigned to each user;

  • how those companies are distributed across different countries;

  • which customer types make up each group.

Step 7 - Calculations

To gain a more comprehensive overview of the records included in the report, we can add the Revenue field and configure one or more aggregation metrics.

In this example, we will select the following metrics:

  • Sum,Sum, to calculate the total revenue generated by the selected companies;

  • Average,Average, to determine the average revenue of the records included in the report;

  • Minimum Value,Value, to identify the company with the lowest revenue;

  • Maximum Value,Value, to identify the company with the highest revenue.

The final available option, the Summary flag, can only be used in Summary Reports.Reports. In a Tabular Report,Report, this functionality is not available because this report type does not generate a Summary tab.

It is also important to note that the Summary tab can display only one metric at a time. Therefore, it is not possible to select multiple metrics and display them simultaneously within the Summary tab.

When multiple metrics are configured, you will need to switch between them individually to analyze each calculation.

image

Step 8 - Sharing

In this example, we want the report to be visible to all users who have access to the reporting functionality. For this reason, we select the Public sharing option.

A public report can be viewed by all users who are authorized to access reports, without the need to assign specific permissions to individual users or groups.

If it is necessary to restrict the visibility of the report to specific users, groups, or roles, you can instead use one of the other sharing options provided by the system.

image

Step 9 - Charts

This step is available only for Summary Reports.

To create a chart, the report must generate a Summary tab. If this tab is not available, the system will not have any aggregated data to display graphically.

As a result:

  • Summary Report → allows charts to be generated from the aggregated data available in the Summary tab;

  • Tabular Report → does not generate a Summary tab and therefore does not provide any charting capabilities.

A tabular report is designed exclusively to display or export detailed record information without performing any grouping or data aggregation. For this reason, it cannot generate graphical representations of the data.

image

Step 10 - Scheduled Execution

In this example, we will not use the report scheduling feature.

Therefore, we can skip the configuration that allows the report to be automatically delivered in Excel, PDF, or both formats to one or more recipients.

The scheduling feature can be useful when reports need to be generated and distributed on a regular basis without requiring manual execution by users.

image

Report Results (Tabular View)

image

In the Tabular Format, data is displayed following the order of the columns selected in Step 6 - Select Columns of the report configuration wizard.

Unlike the summary view, this mode does not apply any grouping and does not calculate statistics or summaries. Records are simply displayed one after another, showing the detailed values requested.

For this reason, the Summary tab is not available in the tabular view, as no aggregations, counts, sums, averages, or other calculations are performed on the displayed data.

Report Results (Summary View) –

image

In this report, some values are intentionally not repeated. For example, in the second record, the value of the Assigned To field is not displayed because it is the same as in the previous record (giovanna.bianchi).

Data is presented in an aggregated form and grouped according to the criteria defined in the report. Starting from the first column, all companies assigned to the same user are displayed together. In this case, all companies assigned to Giovanna are shown first, followed by those assigned to other users.

Within each group, records are further aggregated according to the additional criteria defined in the report, namely:

  • Country

  • Type

Report Results (Summary View) – Summary Tab

Image

In the Summary Tab, for fields where the “Show Summary” flag has been enabled, it is possible to display a set of statistics related to the selected metric in the report (in this case, Revenue).

For each field selected in Step 6 - Select Columns, the system displays:

  • number of records;

  • sum of the selected metric;

  • average value;

  • minimum value;

  • maximum value.

In the example shown, we can see that Francesco has 3 assigned companies, which generate a total revenue of €500. The average revenue is €166, the minimum value is €0, while the company with the highest revenue generates €400.

Continuing the analysis of the summary, we can see that companies are further aggregated according to the criteria defined in the report. For example, for the Country field, we find:

  • 2 Italian companies, with their respective revenue details;

  • 1 Polish company, also with its corresponding revenue.

As we move deeper into the aggregation levels, the two Italian companies are classified as Customer, while the Polish company is classified as Competitor.

Note: If a Summary Report is created but no field has the “Show Summary” flag enabled in Step 6 - Select Columns, the Summary tab will not be displayed.

The system generates the summary only for fields where statistical calculations have been explicitly enabled. If no fields are configured for summary calculation, the report has no aggregated data to process and, as a result, the Summary tab is not shown.