Tabular Report
6 minutes to readA Tabular Report organizes a set of fields into columns much like a spreadsheet, with each data source record listed in a row. It may be especially helpful for creating dashboards to present data in a spreadsheet-like format. For instance, in your sales department, you can present the sales transactions by a customer, an item type, or cost.
Note: On mobile devices, Tabular Reports are displayed as Card Reports for better user experience and clearer data presentation. The mobile view shows all the custom actions that you configure for a Tabular Report but it does not reflect any data grouping.
Steps to create Tabular Reports
- Select the fields you want to include in the report:
- In the upper panel, select the Add elements button.
- Select Reports → Tabular.
- In the Data source panel, select a table or view that will be the primary data source for your DataPart.
- From the Available fields panel, select the fields you want to use in your app. To do that, click the field or drag and drop it into the Selected fields section. You can bulk-add all the fields by clicking the Select all button.
- Optional: If you want to group the records in a Tabular Report by one of the data source fields (for example, customers by their country), drop a field you want to group the records by into Field used to group data (optional).
Note: For record grouping, the following fields are available: Text (255), Number, Integer, Currency, Date/Time, Yes/No, and Formula.
- Click Next.
- In the Elements panel, arrange the report fields:
- If a Date/time field is used for data grouping, select that field. Then, on the General tab, in the Data grouping dropdown list, select a type of grouping.
For example, you can group report data by the day of the month to analyze daily sales trends, identify peak selling days, and track revenue performance over time. - Optional: If you want to add customizable HTML content for descriptive text, links, or graphics to the AppPage, click Add > HTML block and edit the code.
You can format the content in the visual editor or enter your custom code. HTML block supports data source parameters, authenticated user fields, system parameters, and app parameters. - Optional: Manage the display of fields in the report. You can rearrange the order of fields using drag-and-drop or remove fields.
- If a Date/time field is used for data grouping, select that field. Then, on the General tab, in the Data grouping dropdown list, select a type of grouping.
- Configure the report fields:
- In the General tab, provide a label for a field column.
- Optional: In the Hint field, add a text that should be displayed in a tooltip.
- In the Layout tab, select the field size (column width) and alignment (left, center, or right). For the field size, you can select:
- Auto – defines the width of a column by the size of the content inside a field.
- Fixed – allows for setting the precise size of the column field width in pixels [1-9999px]. The content of a field will not be visible if it exceeds the set size.
- Click Save.
After creating a Tabular Report, you can modify it by applying additional configurations. Learn more.
Note: You can restrict the visibility of specific records in a report by managing Roles permissions. Learn more
Configuring additional options for a Tabular Report
After creating a Tabular Report, in the right panel, you can configure additional options of a DataPart. The following configurations are available:
DataPart configuration
Select DataPart configuration to edit the data source and its fields. This option may be helpful when you want to add or remove fields from a data source or change a data source to a different table or view.
Data filters
Select Data filters to set up criteria for DataPart filtering. Learn more.
Interactive controls
In this section, you can enable additional actions for app users with adequate permissions to interact with the data. Depending on the place on your report where you want the controls to appear, configure Toolbar controls and Record controls. For each of these types, the following options are available:
- Delete:
- As a toolbar control, it removes selected records from the database.
- As a record control, it removes a specific record from the database.
For both control types, you can choose to display a confirmation message in a dialog window or allow users to delete records without any confirmation.
- Add allows you to add a custom action:
- Go to AppPage redirects to a specific page in your app.For example, you can redirect the user to a custom destination details page or update form of the selected record with appropriate filtering. Parameters are automatically passed between the report and destination page, and they are available in the filtering section of the destination page.
- Go to URL redirects to a custom URL. For example, you can use this option to build navigation between AppPages deployed on your own website.
Display
Use the Display section to configure the number of records: in total and per page, as well as manage additional controls.
Pagination
Enable the Maximum total records toggle to limit the number of displayed records to the value you set in the input field.
The Records per page option allows you to specify the number of records displayed on each page. You can display between 1 and 1000 records per page. You can also give the app users control over this by enabling the Allow user to select records per page toggle.
Under Additional controls, you can:
- Enable displaying a column showing row numbers,
- Decide if the total number of records on the page should be displayed.
Sorting options
If you want to sort data by default, in the Default sorting section, select one of the options:
- To sort the report based on field values, select By field, and then add and arrange the sorting fields.
- To sort the report in an arbitrary manner, select Random.
If you want to allow app users to sort the report based on field values, in the Sorting options for app users section, select the options as required:
- To make column headers clickable, allowing users to sort by the field values in a specific column, turn on the Sort by column headers toggle.
- To display a dropdown with a list of fields available for sorting, turn on the Sort via dropdown toggle.
By default, the dropdown lists all the fields included in the report and the Default sorting option. You can customize the dropdown list by adding, removing, and rearranging the options. Also, you can click a field to edits its label in the dropdown.