Skip to content
← Back to Events
Talk Thursday, December 3, 2026

Prove It Deserves to Exist

Tracing every Snowflake credit from dbt model to Power BI report using Cortex Agents

🎟️ At: dbt Meetup Zurich (in-person) →

📍 EF Education AG, Selnaustrasse 30, Zürich

Abstract

Every Snowflake credit a dbt model spends ends up in a report. The question is which one, and how much of it.

At EF Education First we model dbt build cost from Snowflake’s query attribution history and Power BI usage as two star schemas in dbt. To connect them we built a lineage bridge. It takes object-level edges from ACCESS_HISTORY, adds the semantic model tables parsed from Power BI’s TMDL, and computes a closure that maps each model to every report downstream of it.

This session is about the technical work and the modelling: the grain of each fact, keying access history so it stays unique, walking the lineage without recursive CTEs, and three ways to split cost across consumers (equal, weighted by usage, unattributed). Then we hand the model to an agent and watch it answer which reports cost the most.

You’ll leave with a data model you can rebuild on your own warehouse, a dummy dataset to try it on, and the trade-offs of each allocation method.


Presented as part of dbt Meetup Zurich.