How to create a report and share access to it
In one Report, you can collect widgets for several forms, while each individual widget is created from the data of only one form.

Important: to view widgets, read access to the report is enough. Access to the forms the report is built on is not required. Keep this in mind when sharing access with colleagues: they will be able to see widget data even if the source form is not available to them.
Creating a report
Go to the Reports section in the left menu and click Create report.


Enter the report name and click Create.
Adding a widget to a report
To create or edit an SQL widget, you need:
- the Edit right for the report;
- Manager or Administrator rights for the source form and access to all of its fields.
First, choose a metric (what you will measure and show in the widget) and a display type, and then prepare the query.
Open the Report you need in the section of the same name.

Click Add widget in the top panel.

Select the form you want to build the widget for.
The widget editor opens.

At the bottom of the window, enter an SQL query in the ClickHouse dialect and click Execute.
How to prepare a query, set aliases, and apply filters is described in the article Creating and editing a widget, in steps 1–4. You can take a ready-made query from there or use your own. More examples are collected in the section Examples of custom reports.
Check the query result in the upper part of the editor. The numbers should match the task data of the selected form: for example, the number of tasks in the widget should be the same as in the form's task list with the same filters. If the data does not match, fix the query.
If necessary, change the chart type, set the value format in the columns, hide the table under the chart, or group the rows. How to do this is described in the article Configuring and using widgets, in the section Configuring the widget appearance.

Click Save. Make sure the new widget appears in the report.

To add a widget for another form, repeat these steps and select the form you need. If you do not have access to it, a colleague with access to the form and the Edit right for the report should prepare the widget.
Configuring access rights
Rights are set for the whole report, not for individual widgets. The report author and users with the Edit right can configure them.
Go to the Reports section in the left menu and open the Report you need.
Click Permissions in the report's top panel.

Set the general access level for all employees of the organization. If only a certain group of colleagues should see the report, select No access.
In the Enter user's name or role field, find an employee or role and add them to the list. Assign View for viewing or Edit for editing the report.
Click Save.

| Access level | User's rights |
|---|---|
| Edit | The user can view and edit the report, configure existing widgets, and create new ones. Working with SQL also requires access to the form data. |
| View | The user can view all widgets in the Report but cannot change their appearance, SQL query, or order. |
| No access | The user does not see the report. The exception is when access to the report is open to the whole organization or to a role the user belongs to. |
The access level selected for the whole organization applies to every employee and cannot be lowered for an individual person. For example, if the organization has View access, an employee with No access will still see the report.
To make the report visible only to some employees, select No access for the organization, and then give access to the employees or roles you need.
Arranging widgets in a report
To change the order and visibility of widgets, you need the Edit right for the report. Changes to the order and visibility of widgets are saved as you move them and apply to everyone who views the report.
Setting the order of widgets in a report
- Open the report you need.
- Click Widget settings.
- In the panel that opens, find the widget by its name.
- Drag it to the place you need in the left or right column.
- Close the panel and check the layout.

Hiding and restoring a widget in a report
- Click Widget settings.
- Find the widget and click the eye icon to the right of its name.
- To restore the widget, open the panel again and click the same icon.
Hiding changes only what is displayed: it does not delete the widget or restrict access to its data.

If something is not displayed in a report
The report does not open. Check what access level the user has for the report. How to change it is described in the section Configuring access rights above.
A widget is missing from the report. The widget may be hidden. How to restore it is described in the section Hiding and restoring a widget in a report above.
The query returns an error. The steps are described in the article Creating and editing a widget, in step 5.