​​ Build a Channel Performance KPI Mart with dbt and SQL
Use Case

Build a Channel Performance KPI Mart with dbt and SQL

Group: Use Case

Product Category: Data Engineering

Sub Category: Analytics Engineer

Solution Available

Source code, datasets, and other related files for the solution will be provided.

Prerequisites

SQL basics relational modeling basics BI/KPI fundamentals Git basics

About this Product

Meridian Assurance Group assembles channel performance KPIs manually from spreadsheet exports before monthly reviews, a process that is slow, error-prone, and produces numbers nobody can trace back to agreed definitions.

What you build

  • dbt project on local DuckDB: seeds, staging, dimensional, and mart layers all running on an embedded file-based database with no cloud account required.
  • Seeds and staging layer: load three source extracts (customers, agents, policies); rename, cast, and validate against mandatory-field, enum, and range rules.
  • Dimensional layer: build a simple star schema with one agent dimension (carrying the channel attribute) and one policy-grain fact table with referential-integrity filtering.
  • Channel KPIs mart: compute total policy count, active policy count, total premium, average premium per active policy, and distinct active customers per distribution channel (AGENT,BROKER, DIRECT).
  • Data validation tests: write dbt schema tests (not_null, unique, accepted_values, relationships) plus a singular test to catch negative premiums; document KPI formulas with dbt docs.

Skills you practise

  • dbt fundamentals: project structure, seeds, the ref() macro, YAML configuration, and dbt docs generation.
  • SQL for analytics: joins, conditional aggregation, filtering; staging and mart query logic.
  • Dimensional modeling: building a simple star schema with dimensions and facts at the correct grain.

Outcome

  • Documented dbt project: fully tested, with dbt docs and a README explaining setup and results for your portfolio.
  • Analytics engineering foundation: hands-on experience modeling and testing data for business intelligence.

Interview Q&A Included

1 practice set bundled with this lab

  • Channel Performance KPI Mart with dbt and SQL Assessment

    Channel Performance KPI Mart with dbt and SQL Assessment

    Category: Data Engineering Subcategory: Analytics Engineer 25 questions

    This assessment checks what you learned while building the channel performance KPI mart for Meridian Assurance Group. It is split into four groups: the business scenario and assumptions, business rules …

Resources

1/4
Meridian Channel Performance KPI Mart Reference Solution
Meridian Channel Performance KPI Mart Reference Solution
| ZIP

A complete, tested dbt project to compare with your own SQL when you finish or get stuck.

  • Every rule implemented, with all 14 dbt tests passing in a full build from a clean database
  • Same models as the starter, fully written: staging views, the policy fact, the agent dimension and the KPI mart
  • KPI values for the Agent, Broker and Direct channels that match the BRD exactly
  • Shows one clean way to filter invalid rows and join facts to dimensions in plain SQL
  • README with the exact build and test commands for Windows and macOS
  • Use it to check your approach, not to copy
Enroll to Access
Build a Channel Performance KPI Mart with dbt and SQL
50% OFF

Topics

SQL dbt DuckDB

Skills

SQL dbt Dimensional Modeling KPI Design Data Validation Insurance Analytics

Languages

English

Level

Beginner

Business Domain

Insurance and Customer Distribution

$4.99 $9.99
Includes 1 Interview Q&A set

Labs • Projects • Practice

Similar Products

> more hands-on labs picked for you_

33% OFF
Build a Stock Availability Model Release Pipeline with MLflow and Docker
Use Case

Build a Stock Availability Model Release Pipeline with MLflow and Docker

Build a Stock Availability Model Release Pipeline with MLflow and Docker is a MLOps use case lab that builds a …

MLOps Model Registry & Versioning Container Deployment CI/CD for Machine Learning Model Drift Monitoring API Security & Audit +4 more +3 more +2 more

Level

Intermediate

Time

6.0 hrs

Language

English

50% OFF
Build a Farm Water RAG Copilot with Qdrant and FastAPI
Business Requirement

Build a Farm Water RAG Copilot with Qdrant and FastAPI

Build a Farm Water RAG Copilot with Qdrant and FastAPI is a GenAI business requirement lab that builds Rillmark Water …

Retrieval-Augmented Generation Vector Databases Chunking & Retrieval LLM Evaluation API Security & Access Control +3 more +2 more +1 more

Level

Intermediate

Time

12.0 hrs

Language

English

33% OFF
Build a Governed Student Intervention Agent Team with Python
Use Case

Build a Governed Student Intervention Agent Team with Python

Build a Governed Student Intervention Agent Team with Python is an advanced, GenAI use case lab that builds Beacon, a …

Multi-Agent Orchestration Tool Governance Human-in-the-Loop Workflows LLM Evaluation Observability & Tracing AI Safety & Guardrails +4 more +3 more +2 more +1 more

Level

Advanced

Time

10.0 hrs

Language

English

44% OFF
Design a Shipment Tracking Data Model and Pipeline with PostgreSQL
Capstone Project

Design a Shipment Tracking Data Model and Pipeline with PostgreSQL

Shipment Tracking Data Model and Pipeline with PostgreSQL is a beginner-level data engineering project for a fictional freight logistics company. …

Data Modeling ETL Pipeline Design Relational Database Design Data Validation & Quality Exception Detection SQL Reporting +4 more +3 more +2 more

Level

Beginner

Time

24.0 hrs

Language

English

50% OFF
Build a Property Pricing Data Warehouse with DuckDB and Python
Capstone Project

Build a Property Pricing Data Warehouse with DuckDB and Python

Build a Property Pricing Data Warehouse with DuckDB and Python is a data engineering product that builds CompVantage — a …

Data Engineering Dimensional Modeling Medallion Architecture Data Governance ETL Pipeline Design Data Quality & Validation +4 more +3 more +2 more +1 more

Level

Intermediate

Time

24.0 hrs

Language

English

44% OFF
Build a Governed Fleet Route Data Platform with Python and DuckDB
Capstone Project

Build a Governed Fleet Route Data Platform with Python and DuckDB

Build a Governed Fleet Route Data Platform with Python and DuckDB is a data engineering product that builds the complete …

Data Engineering Batch Pipeline Design DAG Orchestration Data Governance Data Quality & Validation Observability & Monitoring +4 more +3 more +1 more

Level

Beginner

Time

16.0 hrs

Language

English

50% OFF
Build a Real Time Retail Sales Pipeline with Kafka Python and Google BigQuery
Use Case

Build a Real Time Retail Sales Pipeline with Kafka Python and Google BigQuery

Build a Real Time Retail Sales Pipeline with Kafka, Python and Google BigQuery is a data engineering product that builds …

Event Streaming Data Engineering Kafka Consumer Design Google BigQuery Integration Idempotent Data Loading Data Validation & DLQ +4 more +3 more +2 more

Level

Intermediate

Time

4.0 hrs

Language

English

33% OFF
Build a Real Time Retail Sales Pipeline with Kafka PySpark and PostgreSQL
Use Case

Build a Real Time Retail Sales Pipeline with Kafka PySpark and PostgreSQL

Build a Real Time Retail Sales Pipeline with Kafka, PySpark and PostgreSQL is an intermediate-level data engineering product that builds …

Event Streaming Data Engineering PySpark Structured Streaming Idempotent Data Loading Data Validation & DLQ Kafka Integration +4 more +2 more

Level

Intermediate

Time

4.0 hrs

Language

English

32% OFF
Enterprise Data Security & Governance Implementation using Snowflake
Business Requirement

Enterprise Data Security & Governance Implementation using Snowflake

Enterprise Data Security & Governance Implementation using Snowflake is a practical implementation guide that teaches you how to build a …

Snowflake Security Data Governance Role-Based Access Control (RBAC) Dynamic Data Masking Row Access Policies Data Classification Audit Logging Regulatory Compliance Healthcare Analytics +7 more +5 more +4 more +3 more +2 more

Level

Advanced

Language

English

33% OFF
Enterprise Sales Analytics Data Warehouse Design with Kimball Modeling & SCD Implementation
Business Requirement

Enterprise Sales Analytics Data Warehouse Design with Kimball Modeling & SCD Implementation

Enterprise Sales Analytics Data Warehouse Design with Kimball Modeling & SCD Implementation is a practical implementation guide that teaches you …

Data Warehousing Kimball Dimensional Modeling Star Schema Slowly Changing Dimensions Change Data Capture SQL Data Engineering Business Intelligence Real-Time Analytics +7 more +6 more +5 more +3 more +2 more +1 more

Level

Advanced

Language

English

33% OFF
Enterprise Customer 360 Data Platform Implementation using Natural Keys, Row Hashes & Medallion Architecture
Business Requirement

Enterprise Customer 360 Data Platform Implementation using Natural Keys, Row Hashes & Medallion Architecture

Enterprise Customer 360 Data Platform Implementation using Natural Keys, Row Hashes & Medallion Architecture is a practical implementation guide that …

Customer 360 Data Engineering ETL Pipeline Design Medallion Architecture Entity Resolution Natural Key Matching Data Integration Data Warehousing Master Data Management +7 more +6 more +5 more +4 more +3 more +2 more

Level

Advanced

Language

English

40% OFF
Historical Dimension Tracking & SCD Pipeline Implementation Using PySpark and PostgreSQL
Capstone Project

Historical Dimension Tracking & SCD Pipeline Implementation Using PySpark and PostgreSQL

Historical Dimension Tracking & SCD Pipeline Implementation Using PySpark and PostgreSQL is a practical implementation guide that teaches you how …

PySpark Slowly Changing Dimensions (SCD) PostgreSQL Data Warehousing Dimensional Modeling Temporal Data Modeling Data Engineering ETL Pipeline Development +6 more +5 more +4 more +3 more +1 more

Level

Intermediate

Time

10.0 hrs

Language

English

37% OFF
Real Time Kafka Consumer Data Ingestion into RAW Layer Using PySpark
Business Requirement

Real Time Kafka Consumer Data Ingestion into RAW Layer Using PySpark

Real-Time Kafka Consumer Data Ingestion into RAW Layer Using PySpark is a practical implementation guide that teaches you how to …

PySpark Structured Streaming Apache Kafka Streaming Data Engineering Real-Time Data Ingestion Kafka Consumers ETL Pipeline Development +4 more +3 more +2 more

Level

Intermediate

Language

English

40% OFF
Healthflow Analytics Platform with Snowflake & Medallion Architecture
Capstone Project

Healthflow Analytics Platform with Snowflake & Medallion Architecture

Healthflow Analytics Platform with Snowflake & Medallion Architecture is a healthcare data engineering capstone project that demonstrates how to build …

Snowflake Data Engineering Healthcare Analytics ETL Pipeline Design Medallion Architecture Data Governance Data Warehousing Snowflake Administration +5 more +4 more +3 more +1 more

Level

Intermediate

Time

8.0 hrs

Language

English

30% OFF
FinTech Banking ETL Pipeline with PySpark Delta Lake and Medallion Architecture
Capstone Project

FinTech Banking ETL Pipeline with PySpark Delta Lake and Medallion Architecture

NovaPay ETL Pipeline is an advanced data engineering capstone project that builds a production-grade ETL pipeline for a fictional digital …

Data Engineering ETL Pipeline Design Medallion Architecture Data Quality & Validation Incremental Processing Delta Lake & Lakehouse +4 more +3 more +2 more

Level

Advanced

Language

English

40% OFF
Full Stack IPL Cricket Analytics Dashboard and Statistics Platform
Capstone Project

Full Stack IPL Cricket Analytics Dashboard and Statistics Platform

IPL Analytics Dashboard is an advanced, full-stack capstone project that transforms 17 years of Indian Premier League ball-by-ball match data …

Full Stack Development Data Ingestion & Pipeline REST API Development Database Design Data Visualization User Authentication +4 more +3 more +1 more

Level

Advanced

Language

English

Demo

View
50% OFF
Retail Banking EDA & Transaction Analytics Platform
Capstone Project

Retail Banking EDA & Transaction Analytics Platform

Retail Banking EDA & Transaction Analytics Platform is an advanced, full-stack capstone project that takes you through the complete data …

Data Engineering Exploratory Data Analysis Full Stack Development Database Design Regulatory Compliance REST API Design Data Visualization +5 more +4 more +2 more +1 more

Level

Intermediate

Time

8.0 hrs

Language

English

Demo

View
40% OFF
AI Powered Meeting Notes Generator
Capstone Project

AI Powered Meeting Notes Generator

AI Powered Meeting Notes Generator is an intermediate-level, full-stack capstone project that transforms raw meeting recordings and transcripts into clean, …

AI Integration Full Stack Development Speech-to-Text LLM Prompt Engineering Async Processing REST API Design +4 more +3 more

Level

Intermediate

Time

8.0 hrs

Language

English

Demo

View
40% OFF
Full Stack Service Booking Marketplace with Consultant Subscription Model
Capstone Project

Full Stack Service Booking Marketplace with Consultant Subscription Model

BookMyService is a beginner-friendly, full-stack capstone project that simulates a real-world two-sided service marketplace — where users can discover and …

Full Stack Development SaaS Marketplace Authentication & Security Subscription Management Role-Based Access Control REST API Design +4 more +3 more +2 more

Level

Intermediate

Time

8.0 hrs

Language

English

Demo

View

Expert Guidance

Similar Services

1:1 help from industry experts who can guide you through labs like this one.

Finding the best experts for you...

Learner Feedback

Top User Reviews

Loading reviews...