In this article:
Create | Settings | Define | Fields | Convert | Select | Selections | Layouts | Sort order | Actions | Import | Print/PDF | API access | Power query | Review | Dashboard

Define reports

Reports are configurable objects that define how information from your data sets will be presented into reports and charts. You can give each report a name, define the source data, report fields, conversions, selections, create multiple layouts, and set user permissions. You can choose from over 30 different layout types.

Once created, you can run reports as often as you want. They will always show the latest data.

You can also watch the tutorial video.

When you sign up, your tenant already has a number of predefined reports, aimed at financial reporting. They contain example data of a fictitious company. You don't have to start from scratch, you have working examples which you can start with, and you can add or change reports at any point in time.

Some common examples of reports are:

Create a report

You can create a report in two ways (watch the tutorial video):

Either way, the rest of the process is the same, and you can enter a name for your new report, set user permissions for it, and define its fields and layouts. At every change, the preview of the report will be automatically updated:

screenshot define reports

Settings

You can define the settings for the report via these fields:

Define

You can define the fields and layouts by clicking on the Define button:

screenshot define reports fields

This opens a dropdown menu with further options:

Define fields

By default, reports will include all columns from the source data set and its linked data sets, without any conversions or data selections.

Optionally, you can click on Define - Define fields to include or exclude data set columns, rename fields, convert field values, calculate, or to define data selections:

screenshot define reports fields

You are free to rename fields for the purpose of this report, without impact on the source data sets or any other reports.

To insert, delete, copy, or move fields, you can either right-click on a row, or click on the ☰ button in the last column of a row. You can create 2 types of fields:

In the above example, we have created 2 calculated fields: one to calculate a variance between 2 other columns, and another one to calculate the variance as a percentage.

You can optionally set a specific format for fields with numeric values. If you leave this blank, the field values will be formatted to 0 decimals.

You can also watch the tutorial video.

✭ Tips:

Convert or calculate data

You can convert or calculate field values in your report. You can enter a simple function or an expression with multiple functions and operators. There are many functions you can choose from:

screenshot define reports functions

An expression can contain the following elements:

You can also watch the tutorial video.

✭ Tips:

Select the data

You can select the data in your report. Selection means that you can include only certain rows in your source data in the actual report. You can specify a static value, a single function, or an expression with the standard operators. You can also use these filter functions: BETWEEN, CONTAINS, ISANY, ISBLANK, AND, OR, NOT. For more information, see filter functions.

In below example, we are selecting only a range of financial periods:

screenshot define reports filter

You can also watch the tutorial video.

User selections

In many cases you might want the user to select some value when they start a report. For example, the company or the period. You can do that by using the SELECT() or the SELECTPERIOD() function:

screenshot define reports filter select

This will present the user with a list of values to select from, before the report is generated.

If you use the SELECTPERIOD() function in combination with the PERIODSUM() function, you can build powerful and dynamic period-discrete and year-to-date calculations with just a few clicks. Read more about period conversion functions.

You can also watch the tutorial video.

Layouts

Click on Define - Add layout or Define - Edit layout. For every layout, you can enter a name:

screenshot define reports layouts add

It is easy to edit a report layout, simply by dragging fields into the various areas of a report.

screenshot define reports layouts

This window enables you to change the report options and the fields position.

Report options

These are settings that determine the overall appearance of the report layout:

You can choose from over 30 different layout types.

You can also watch the tutorial video.

The option Fin subtotals automatically inserts extra subtotals in Profit & Loss reports ("Gross Profit" and "Earnings before Interest & Tax") and in Balance Sheet reports ("Total Assets" and "Total Equity & Liabilities"). It does this by detecting any of below text patterns (partial and case-insensitive) in the first row field of the report layout. If you want to use this option, please ensure the first row field in your report includes these text patterns. This option is ignored if the text patterns are not detected.

Fields position

You can manually drag-and-drop any of the available fields into any of the report areas, and if you no longer want a field in your report, you can simply drag it out again.

You can also watch the tutorial video.

Sort order

By default, reports are sorted alphabetically on the values in the row and column fields. You can specify a custom sort order in the underlying data sets that are used as rows and column fields. Simply prefix the field values with a number followed by a colon (e.g. "1:text"). XLReporting will sort all reports on that prefix, but the prefix will not actually be shown in the report. This enables you to centrally set a sort order that is consistent across all reports.

screenshot sort prefix data columns reports

Actions

When defining a report, you can use the Save and Actions buttons in the right-top of the screen:

screenshot define reports actions

These buttons enable you to do the following:

Please note that the list of actions is dependent on the permissions (in your user roles) that you have been given.

Import from object

If you have the relevant permissions, you can import the defined fields or individual layouts from another report in an configuration export file from Transfer Objects. This function requires the same data sets in this tenant as in the configuration file you are importing. You should check your import carefully. If in doubt, you can always (re)import the entire report via Transfer Objects.

Print and PDF export

You can export the report to multiple file types, to a PDF file, or print it.

XLReporting will automatically fit the content to the available page width.

Get API access

You can retrieve data from reports through our API, and send it straight into another system or even directly into Excel or PowerBI.

Please note that this option is only visible if your user role has Access API permission.

Click on Actions - Get API access for instructions, properties, and examples:

screenshot define datasets api

XLReporting provides the following API methods:

You need to provide a valid API token with all requests. Tokens are linked to users, and you can request a token through Manage - Profile - Actions.

Read more about API integration.

✭ Notes:

Power query

In addition to exporting reports to Excel, you can also access reports directly from Excel or PowerBI using Power queries. This enables you to design your own reports in Excel or PowerBI using realtime data from XLReporting. The data will be automatically refreshed at any time without you having to login to XLReporting.

XLReporting creates a small file for you specific to each report, which you can open in Excel via Data - Get external data.

You can choose to store your API token and selected values in the file, or leave them as runtime parameters.

screenshot export excel query

Review this report

Click on Actions - Review this report to review a number of aspects of this report and its source data set:

You can also watch the tutorial video.

screenshot define datasets reports review

Add to dashboard

A dashboard is a personal page with your own favorite reports and models. You can create multiple dashboards, and each dashboard can contain multiple reports or models.

Click on Actions - Add to dashboard to add this report to either a new dashboard, or to a new dashboard (watch the tutorial video):

screenshot dashboard reports edit

Recommended reading:
Back to top | Data sets | Define layouts | Videos

We value your privacy

We use cookies to enhance your browsing experience and analyze our traffic.
By accepting, you consent to our use of cookies.

Accept Reject Cookie Policy