OpenReports 1.0
Build simple reports from a PostgreSQL database in the browser: group, filter, sort and export your data, or read it through an API.
Getting started
-
Introduction
What Total.js OpenReports is, how views and reports work together and where to start.
-
Install from source
Install OpenReports with Node.js and start it on your computer or server.
-
Install with Docker
Build a Docker image of OpenReports from its repository and run it with a volume for your data.
-
First access
Open OpenReports for the first time and find your way around the screen.
-
Connect the database
Enter the PostgreSQL connection string and the name of the app in Configuration.
Views
-
Create a view
Describe the data your reports can use: an SQL query and a list of fields.
-
Edit and remove views
Change the SQL or the fields of a view, or remove a view and its reports.
-
View definition
Every key of the JSON that defines a view.
Reports
-
Create a report
Create a report: choose its view, name, category, icon and colour, then save it.
-
Fields and sorting
Choose the columns of a report, sort the rows and limit how many come back.
-
Group and total
Group the rows of a report and show the minimum, maximum or sum of number fields.
-
Filter rows
Keep only the rows you need with filters on the fields of the view.
-
Dynamic filters
Let people enter filter values, such as a country or a period, each time they open a report.
-
Browse and export data
Open the data of a report, copy it, or download it as a CSV or Excel file.
-
Organize reports
Find, group, clone, edit and remove reports in the Reports screen.
-
Chart settings
Turn a report into chart data with an X axis, a Y axis and optional series.
-
Filter types
The filter types for each kind of field and the values they expect.
Administration
-
Enable the API
Turn on the API for reading reports and create its token.
-
Use OpenReports with OpenPlatform
Add OpenReports to a Total.js OpenPlatform instance, so that its users sign in there.
-
Run in production
Make an OpenReports server safer before other people can reach it.
-
Back up OpenReports
Find the file that holds your settings, views and reports, and back it up or restore it.
API
-
List reports
GET /reports/ returns the reports with their fields and dynamic filters.
-
Load a report
POST /reports/ runs a report and returns its fields and rows.
-
Chart data
POST /reports/ with "chart": true returns the chart data of a report.
FAQ
-
Reports and data
Answers to common questions about views, reports and their data.
-
Access and setup
Answers to common questions about signing in, settings and where things are stored.