Skip to main content
In Peliqan you can model your data as you like, for example by using the Star schema data model. Below is a simple example where we build one fact table and a few dimension tables, based on tables from a CRM called “Teamleader”. The below queries can be created as Views in the data warehouse, to make them visible by your BI tool. See Query Settings > Create as view. Or you can “Materialize” these queries into a physical table in the data warehouse, using Query Settings > Replicate. More info: Materialize & Replicate Star schema diagram: fact table fct_deals linked to dimension tables dim_customer and dim_status

Dimension table “customer”: dim_customer

The source table is the table “companies”, created by the ELT pipeline:

Dimension table “status”: dim_status

The source is column “status” from the table “deals”, created by the ELT pipeline:

Fact table “deals”: fct_deals

The fact table is created based on the source table “deals” from the ELT pipeline, combined with the id’s from the dimension tables, which are added as FK: