SQL model organizes tables and columns from a relational source into a managed cube. The model workspace is used for modeling, and the query workspace runs read-only SQL.
Scope
Use this model type for PostgreSQL, MySQL, Doris, and other SQL connections supported by the platform connection service. Available types and fields depend on the options returned by the Data Sources page.Modeling essentials
- Refresh the data source browser structure and load table columns as needed.
- Give each cube a fact table. Bind each measure to a fact-table column and choose its aggregation.
- Level columns come from dimension tables. In the cube relationship settings, fill in the fact-table foreign key and dimension primary key.
- Validate calculated-member expressions in the Query lab before publishing.