How to work with ClickHouse in FastReport Cloud

2023-11-20

ClickHouse is a popular database that is convenient for data analysis. In this article, you will learn how to connect to this database from the FastReport Cloud service for report generation and storage.

As an example, the article will use a database of tutorials on working with ClickHouse.

Database screenshot

In our case, “default” is the name of the database, and “my first table” is the name of the table. To add our database as a data source, select “ClickHouse” when adding a source. You will see the dialog:

Adding ClickHouse connection

We don’t need the table name now, just the database name. So, let’s fill out the form:

Completed form for adding a connection

As you can see from the dialog, the connection test was successful. Now just click “Connect,” and the connection will be saved among the existing ones.

Connecting to ClickHouse in the data sources menu

You can then use this connection in your reports. Now let’s try to make a simple report based on this connection:

Online designer with an open report

And, of course, take a look at the report preview:

Preview of the report with ClickHouse data

If we compare the data from the original table with our report, it will be quite obvious that the connection is functioning properly.

November 20, 2024

Localization and Language Switching in FastReport VCL

FastReport VCL supports 40 languages for interface localization and allows you to change the language on the fly through menus or code, without recompilation.
November 01, 2024

New Features of the FastReport VCL Editor

We are considering new features of the report editor: extension lines, highlighting of intersecting objects, updated report and data trees.
October 30, 2024

Using Styles When Creating Reports in FastReport VCL

The article discusses one of the new features of FastReport VCL — the use of styles and style sheets.
Fast Reports
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2024 Fast Reports Inc.