BS Consulting
Blog

Microsoft Fabric: Follow one Delta row into a Power BI visual

The pipeline reports success, yet the plant manager sees yesterday’s number. Follow one corrected quantity to distinguish the source table, the semantic model and the visual.

Three timestamps for one correction

A station’s inspected quantity changes from 100 to 120. In our example the correction commits to Delta at 08:05. At 08:07 the semantic model references the updated table state. At 08:08 the reader queries the visual again. These invented times describe different stages. A data freshness promise needs to cover all three.

How one correction reaches the reader
  1. 08:05 · Delta commitThe curated production table contains 120 inspected parts.
  2. 08:07 · Model stateThe Direct Lake model references the newer table state.
  3. 08:08 · Visual queryA query for the same station and filter context returns the updated value.

A Fabric lakehouse can store Delta tables in OneLake. A Power BI semantic model adds business definitions, measures and relationships. With Direct Lake the analytics engine can load required columns from Delta into memory. Framing determines which file state the model references. Updating that state and running a fresh query for a visual already open on screen are separate operations.

Choose the storage path with the actual source in mind

Three paths from curated data to the report
ModeWhat the query readsFirst diagnostic
ImportData imported into the modelLast data refresh and its scope
DirectQueryQueryable source, possibly with cachingSource query, freshness and latency
Direct LakeDelta data in the model’s frameTable version, framing and capacity

Direct Lake requires suitable Fabric capacity and supported tables. Distinguish the variants. Direct Lake on OneLake does not automatically fall back to DirectQuery. Direct Lake on SQL analytics endpoints can use DirectQuery for cases such as a SQL view or certain security configurations, depending on the configured behaviour. The source, object type, identity and model configuration matter. An existing Databricks SQL warehouse and a Fabric lakehouse provide different query paths.

Isolate the stale value

Choose one station and hold the business filters constant. Check the released Delta table, run a DAX query against the model and finally inspect the report visual. If the table and model agree, look at visual filters, shift selection, saved state and the time of the last visual query. If the model already differs, inspect its frame, the table it references and which storage mode executed the request. Use comparable identities and permissions throughout.

DAX
EVALUATE
SUMMARIZECOLUMNS(
    Production[StationCode],
    "Inspected", SUM(Production[Inspected]),
    "Rejected",  SUM(Production[Rejected])
)

Run the example in the DAX query view of a model with the Production table. For a performance comparison measure the same query under cold and warm conditions. Record the released data version alongside elapsed time. Fast results can still represent stale data.

Make the freshness promise measurable

“The report is current” leaves the start of the clock undefined. In the example, three minutes pass between the 08:05 commit and the 08:08 visual query. Two of those minutes precede the observed new model state. This says nothing about the delay between the original factory event and the commit. A promise measured from the shop floor also needs event time.

For a controlled test, record the business record ID, confirmed table version, model refresh and visual-query time. Repeat the test with a correction that leaves the table’s greatest event timestamp unchanged. Looking only at MAX(EventAt) in that case could show a perfectly plausible time while masking a missing correction.

Try it yourself

Delta and the DAX query both return 120, while the visual still shows 100. Would you start by rerunning the ingestion pipeline?

Show the solution

The new value already reached the model. Reproduce the station and shift filters, check the time of the visual query and refresh the visual. Repeating the upstream ingestion does not explain this discrepancy.

Sources and further reading