Building a Report with a ClickHouse Data Connector
Create a ClickHouse Data Connector, build a Data Store on top of it, and design a Business Report with advanced analytics using that Data Store.
Prerequisites:
Access to the Data Center and Report Modules.
ClickHouse connection details: Host, Port, HTTP Port, Username, Password, Database Name (dbname), and SSL Type.
A valid SQL query you can run against your ClickHouse database.
Phase 1 — Create a ClickHouse Data Connector
Open the Apps menu → go to Data Center.
In Data Connectors, click Create +.
Choose ClickHouse as the connector type.
Enter:
Name:
Workflow 2
(and optional Description)Credentials: Host, Port, HTTP Port, Username, Password, Database Name (dbname)
SSL Type
Click Save.
Phase 2 — Create a Data Store on the Connector
From the newly created connector’s ⋯ (three dots) menu, select Create Data Store.
Name the Data Store: self_service_02.
Query: Paste/write the SQL that defines your dataset → click Next.
Dimensions & Measures:
Set the Expected Joining Date as the Time Field.
Set Expected CTC as a Measure.
Click Next.
Hierarchy Definition:
Drill Definition (time): Add Expected Joining Date.
Drill Definition 1: Add Source, Skills, Team, Designation.
Click Next → Finish.
Phase 3— Create a Business Report from the Data Store
Open Apps → Report Module.
Create Report:
Name: e.g.,
Workflow 2
(add a Description if desired).Select the
workflow2
Data Store → click Create Report.
View 1 — Total Offered CTC by Skill (Mixed Chart)
Choose Mixed Chart.
Drag Skill (dimension) and Offered CTC (measure) onto the chart.
Customize: sorting/order-by, bar size, display names.
Rename the view → Save.
View 2 — Team-wise Total Experience (Pie)
Choose Pie Chart.
Drag Team (dimension) and Experience (measure).
Order by Team (ascending).
Rename the view → Save.
View 3 — Previous History of Employees (Data Grid)
Choose Data Grid.
Drag dimensions Name, Previous Organization; measure Previous CTC.
Sort Name ascending; update column display names.
Rename the view → Save.
View 4 — Team-wise Offered CTC (Treemap)
Choose Treemap Chart.
Drag Team (dimension) and Offered CTC (measure).
Order by Team (ascending).
Rename the view → Save.
View 5 — Monthly Salary by Designation (Mixed Chart)
Choose Mixed Chart.
Drag Designation (dimension) and Monthly Salary (measure).
Sort Designation ascending; set record limits and bar size.
Rename the view → Save.
View 6 — Compare Avg Previous CTC vs Offered CTC (Mixed Chart)
Choose Mixed Chart.
Drag Previous Organization (dimension); measures Previous CTC and Offered CTC.
Sort/order by Previous Organization, set limits, and bar size.
Rename the view → Save.
Phase 4 — Add Advanced Analysis
Timeline Play (dynamic time playback)
In the right pane, click Analyse → Timeline Play.
Set Time Dimension (e.g., Expected Joining Date), Interval = Monthly, Start/End dates, and Delay.
Start Timeline Play to animate charts over time.
Interactions (cross-filtering between views)
In the right pane, click Edit → Interaction.
Enable Interactions and select the target charts to link.
Save the view.
Example: Clicking a Skill updates the Total Offered CTC by Team chart.
Drill-Through (Monthly Salary by Joining Date)
Create a chart with Monthly Salary (measure) and Expected Joining Date (dimension).
Sort by Joining Date ascending → rename the view → Save.
Double-click the view, select a bar, and choose Drill Through.
All months display; click a month to view detailed dates.
Outcome
You have:
A ClickHouse Data Connector
A production-ready Data Store (
workflow2
)A multi-view Business Report with Timeline Play, Interactions, and Drill-Through enabled
Use Save frequently and adjust chart properties (labels, legends, colors) to meet your presentation standards.
Last updated