Lesson 05 of 7 · The model in Fabric
Same model. New source.
Good news: your measures don't need to learn anything new. Only the plumbing changes.
with Elizabeth Cecilia . About 8 minutes. Tap any underlined term for its meaning.
Predict first How much of the model changes?
The kit's model is a folder of TMDL files: tables, columns, relationships, measures and roles. It's moving from Import to Direct Lake on OneLake .
How much of the TMDL do you expect to change?
Almost all of it. It's a different kind of model. Mostly the partitions: where each table gets its data Nothing. Direct Lake reads Import models as they are.
Compare One table, before and after
Toggle between the two versions of the Supply table. The measure and the column don't move; the partition does.
Show Direct Lake
// Supply.tmdl, Import (today)
table Supply
measure 'Total supply (kt)' = SUM ( Supply[Kilotonnes] )
column Kilotonnes
dataType: decimal
partition Supply = m
mode: import
source =
let
Source = gold_Supply
in
Source
A quick way to tell the flavours apart: Direct Lake on OneLake uses the AzureStorage.DataLake connector; Direct Lake on SQL uses a SQL connector.
Sort it Stays, changes, or moves upstream? The measure Total supply (kt) ✅ Stays ✏️ Changes ⬆️ Upstream
The relationships between Supply, Commodity, Country, Year and Scenario ✅ Stays ✏️ Changes ⬆️ Upstream
The report opening on Base case in the scenario slicer ✅ Stays ✏️ Changes ⬆️ Upstream
The row-level security roles ✅ Stays ✏️ Changes ⬆️ Upstream
Each table's partition ✅ Stays ✏️ Changes ⬆️ Upstream
The Power Query steps and the file-path parameter ✅ Stays ✏️ Changes ⬆️ Upstream
The Criticality band calculated column ✅ Stays ✏️ Changes ⬆️ Upstream
A user-defined hierarchy on the Year table ✅ Stays ✏️ Changes ⬆️ Upstream
Check Tools and checks An open-source notebook library, Semantic Link Labs, can migrate an Import model to Direct Lake. What won't it bring across?
Measures Calculated columns Relationships
After the switch, the kit's validator fails every partition check. What do you do?
Turn those checks off Update the spec to expect Direct Lake partitions, then rerun
Recap Three things to keep 1 The semantic model barely moves: measures, relationships and roles read the same. 2 What changes is each table's partition, which now names a Delta table through one shared expression. 3 Power Query steps and calculated columns move upstream. Update the spec before the files.
Finish lesson
← Direct Lake
Course map
Git and deployment →
The move to Fabric, lesson 05. The kit is a toy version of a real Power BI project, with illustrative commodity data. Fabric facts checked September 2026; Fabric changes often, so check Microsoft Learn before relying on a detail.