top of page
ChatGPT Image Sep 12, 2026, 11_16_40 AM.png
02-engineering-hero-background-v4.png

02 - ENGINEERING - Independent applied research

Engineering Data Foundations for Trusted BI and AI

Optimizing Spark Delta-Parquet foundations for Power BI, conversational analytics, and trusted agentic AI.

Demonstrating how Spark processing and Delta-Parquet table design influence Lakehouse query execution, Direct Lake framing and transcoding, semantic-model performance, Power BI report responsiveness, Fabric capacity efficiency, and the speed and reliability of AI analytics grounded in governed business data.

THE DOWNSTREAM EFFECT

Optimized analytical storage and processing systems does not improve an LLM’s reasoning. It improves the governed data path that supplies structured facts to reports, copilots, and agents—supporting faster, more scalable, and more reliable analytical answers.

PROJECT PREMISE

Analytical AI needs more than an LLM corpus

An LLM contributes learned knowledge, while retrieval-augmented generation can retrieve relevant passages from document collections through embeddings and vector search. Enterprise analytical questions, however, often require current, governed facts—not only retrieved text.

 

Microsoft Fabric data agents extend this grounding path by translating natural-language questions into read-only SQL, DAX, or KQL and executing those queries against authorized Fabric sources. Lakehouses and Warehouses expose structured data; Power BI semantic models contribute certified measures and business relationships; KQL databases support event and time-series analysis; and ontologies provide shared business meaning.

These paths are complementary. RAG supports unstructured knowledge retrieval, while Fabric artifacts provide governed analytical facts under the requesting user’s permissions and organizational policies.

When a Power BI visual, conversational experience, or AI agent submits DAX, SQL, or KQL, the quality and responsiveness of the result still depend on the analytical system underneath it.

This project isolates one part of that broader system: how the physical condition of logically equivalent Delta-Parquet Gold tables propagates through Direct Lake, VertiPaq, DAX, secured Power BI report rendering, Fabric capacity, and downstream AI-delivered answers.

02-engineering-ai-grounding-architecture.png

RESEARCH QUESTION

What changes downstream when we optimize Gold?

Compare physical storage treatments while preserving the analytical workload. Measure the BI effects, inspect the execution route, and verify the meaning of the results.

Improve the foundation

Enterprise platforms for integrating engineering, storage, business intelligence and analytics.

Measure the BI effect

Compare paired observations under recorded cache, security, report, and capacity conditions. Separate storage evidence from query and rendering behavior.

Preserve analytical meaning

Check report definitions, DAX, results, security scope, and route evidence. Keep incomplete checks visible rather than treating them as passes.

EXPERIMENTAL DESIGN

One source. Two Gold branches. Paired evidence.

Compare physical storage treatments while preserving the analytical workload. Measure the BI effects, inspect the execution route, and verify the meaning of the results.

01 - SHARED FOUNDATION

Canonical Silver

Common source data and business scope anchor the comparison

02 · CONTROL & TREATMENT

Dual Gold

Gold_Unoptimized and Gold_Optimized support the physical storage comparison.

03 · ANALYTICAL ACCESS

Direct Lake models

Paired semantic models expose the same intended analytical workload.

04 · OBSERVE

Benchmark execution

Record storage, timing, cache state, RLS role, and execution route evidence.

05 · VERIFY & REVIEW

Equivalence and publication

Connect checks and review outcomes to the run and comparison pair.

06 · CONSUME

Reporting snapshot

CAP13 reporting tables and BenchmarkReports expose the evidence in Power BI.

Baseline: Gold_Unoptimized

The comparison branch provides a reference for measuring the effect of the treatment. Keep the business scope, test identity, and intended analytical meaning aligned.

Treatment: Gold_Optimized

The optimized branch applies the physical design approach under test. Interpret each finding against the recorded treatment, run conditions, and validation coverage.

The research evaluates physical optimization. Future DAX experiments should vary query design separately so that storage and query effects can be distinguished.

REPORTING SNAPSHOT · 50M ROWS · F4 CAPACITY

Measured improvement. Visible diagnostic limitations.

The 50M snapshot contains 56 paired benchmark comparisons on F4 trial capacity. Median DAX duration was 222.0 ms for the baseline and 183.5 ms for the optimized model—a 17.3% reduction relative to the baseline.

50M

Benchmark dataset · F4 Capacity

56

Paired benchmark comparisons

56 PARTIAL

Recorded comparison verdicts

222.0 ms

Baseline median DAX duration

183.5 ms

Optimized median DAX duration

17.3%

Reduction in median DAX duration

56 PARTIAL · Dedicated framing and transcoding evidence was not collected for this run. Business results and model-object equivalence were verified, along with the other checks below. The recorded PARTIAL label is retained; it should not be read as a statement that business results or model objects were left unverified.

 

The 17.3% figure is the reduction between the two reported medians: (222.0 − 183.5) ÷ 222.0. It is specific to this snapshot and is not a claim of the same improvement for every query, report render, dataset size, or capacity. It is a reduction between medians, not the median of individual paired percentage improvements.

​

INTERACTIVE BENCHMARK REPORT

Explore the measurements and their context.

Use the report to compare branches, inspect cache, and review equivalence coverage alongside performance observations.

Verification & benchmark scope

Verified comparisons. Clearly defined scope.

The 50M / F4 snapshot compares warm-query performance between the baseline and optimized Gold models. Gold tables were not updated during the experiment. The checks below describe the completed verification and the boundaries of the diagnostic capture.

Untitled.jpg

BENCHMARK SCOPE · FRAMING

Framing establishes the Delta-table snapshot available to the semantic model during model refresh or automatic updates. It is a prerequisite for querying the intended snapshot.

​

Because the measured runs were warm and Gold tables remained unchanged, framing duration was outside this steady-state query comparison. No dedicated framing evidence was collected. The results do not assess refresh performance or behavior following Gold updates.

​

Future refresh experiments may correlate model events, refresh timings, and source versions to investigate framing separately.

A separate refresh-time operation.

DIAGNOSTIC LIMITATION · TRANSCODING

Transcoding loads required column data into the in-memory engine. Prior queries, column residency, cache state, and eviction influence the work required.

 

Warm runs reduce the likelihood of loading work, but the warm label alone does not establish that every required column remained resident. Dedicated transcoding traces were not collected, so the results do not isolate column-loading costs.

 

A slower first query or a cold-versus-warm timing difference alone does not isolate transcoding time.

On-demand loading depends on residency.

Progressive diagnostic experimentation.

Subsequent runs may add controlled refresh, Gold-update and cold-cache experiments, alongside targeted tracing and event correlation. The current scope supports the observed warm-query comparison; it does not attribute the 17.3% reduction to framing or transcoding. Dataset sizes and capacities will be recorded separately for each experiment.

PROGRESSIVE EXPERIMENTATION

Expand the scale. Compare the conditions.

This is an evolving research programme. Experiments progress through dataset sizes such as 10M, 50M, and 100M or more, with comparisons across different capacities as resources become available.

Each published snapshot records its own data scale, capacity, workload, cache protocol, and verification coverage. Findings from one configuration are tested again before being generalized to another.

table.jpg

FOUNDATION FOR CONTEXT ENGINEERING

Make analytical evidence usable by AI.

Context engineering designs what an AI system receives at the point of a task: definitions, relevant data, instructions, permissions, and evidence.

Grounding is one part of that design: anchoring an answer or action in reliable sources. This project provides structured sources and provenance that a later agent can retrieve and interpret.

What Project contributes
  • Identity: benchmark profile, run, test, branch, and comparison pair.

  • Meaning: semantic model, report version, and DAX definitions.

  • Conditions: cache state, role, capacity, and execution route.

  • Evidence: timings, verification statuses, and publication review.

This is a foundation for agent context. Agent quality and AI performance need their own evaluation.

Project  · Governed agentic analytics · In development

From diagnostics to controlled optimization.

A proposed next step is an agent-assisted enterprise Power BI optimization workflow grounded in benchmark evidence and governed semantic definitions.

Diagnose

Retrieve relevant storage and query evidence, identify incomplete checks, and explain plausible bottlenecks with source references

Recommend

Suggest a bounded treatment with its expected mechanism, prerequisites, and verification plan.

Verify & govern

Re-run the comparable workload, check business meaning, and route material changes through an appropriate review step.

Applied research with enterprise relevance

Build a repeatable path from evidence to improvement.

Explore the report, the experimental design, and the next phase of governed analytics.

bottom of page