YasarKocyigit

Nº 01DataArchitecture study

Index of entries

Databricks Gold, released once

Sales has closed for the day. Returns are still arriving. When is a Databricks Gold release ready for the models and reports that read it?

Author
Yasar Kocyigit
Platform
Databricks · Power BI
Date
Status
Design
Reading
4 minutes
Diagrams
4
Contents

OverviewFrom Gold tables to the shared model and team reports

  • Data
  • Control
  • Metadata
MedallionPower BI ServicePROJECT REPOSITORYdatabricks/ · DABpowerbi/ · PBIPcontracts/ · Gold inputsCI/CDDev → Test → ProdLakeflow JobsIngest and transformReport authorBuild permissionEXAMPLE SOURCESOperational SQLREST APIFile deliveriesRAWBronzeSource recordsVALIDATEDSilverClean recordsCURATEDGoldDomain tablesDATABRICKS SQLSQL WarehouseSQL access to GoldDOMAIN MODELSales modelSemantic model · ImportTEAM REPORTSSales OverviewRegional SalesNEXT PHASEManagement appDatabricks Apps · AILOGS AND LINEAGEControl tablesUnity Catalog · DeltaREFRESH JOBModel refreshLakeflow JobSCAN JOBLineage scanPower BI and Fabric APIsapproved commitDAB deploymentingest and transformPBIP deploymentpublishrelease readyrefresh requestjob resultDAXreport definitionfield dependencies

The drawing

End-to-end architecture

The Sales semantic model imports Gold data. Teams publish their reports against that shared model. Databricks records refresh results and field dependencies.

15 parts

SourcesDatabricks BundlesPower BI Projects

Select a component to read its role

Where the model belongs

Imagine that Sales Overview and Regional Sales both display Net Sales. The regional team wants a different layout. It still needs the same definition of a return, the same reporting date, and the same rules about who can see each territory.

In this design, engineering publishes reconciled Gold tables in Databricks. The domain owner defines Net Sales and agrees a freshness target. The platform team publishes those decisions as a shared Power BI semantic model. Report authors receive Build permission on the model and publish thin reports in their own workspaces. They can change a chart without forking the measure or scheduling another import.

The repository records the boundary in three places. Databricks bundles describe the jobs. Power BI Projects hold the model definition in TMDL and any platform-owned reports. A contract names the Gold inputs, their readiness checks, and the owner of the model.

What makes a release ready

Suppose today’s sales have finished loading but returns are still arriving. A successful sales job tells us about one table. Updating Net Sales requires a decision about both.

The Gold job records the business date, release ID, Delta version, and reconciliation result for each input. The Sales contract requires gold.sales and gold.returns to pass for the same date. It can allow a previously validated customer dimension to carry forward. While returns are missing, the orchestrator records the blocking input. When they arrive, it evaluates the contract again.

One eligible release creates one refresh request for the shared Import model. The orchestrator keeps at most one request in flight per model and records the outcome. Both reports read the new data on their next query after completion. Pure DirectQuery models read Gold at query time and skip this Import step.

RefreshFrom validated Gold inputs to an Import model refresh

  • Data
  • Control
  • Metadata
FROM GOLD RELEASE TO REFRESH REQUESTWHEN INPUTS ARE NOT READYPOWER BI REQUEST STATUSDATA FLOWREFRESH HISTORYGOLDGold tablesVersion and business dateQuality checksReconciliation and schemaAre modelinputs ready?Required Gold inputsModel queueOne job per modelStartrefreshEntra service principal202 AcceptedSave the request IDHold releaseLog the failed checkWait formissing inputRecheck on the next eventRead outcomeCompleted or FailedPoll statusPoll with GETSQL warehouseServes Gold dataIMPORTImport modelLoads data into Power BILinked reportsQuery the same modelDELTARefresh logRequest, duration, errorpassreadyPOST

The drawing

Model refresh

Once all required Gold inputs are ready, the job sends one refresh request per model. It tracks the request until Power BI finishes loading the data and then records the outcome.

14 parts

SourcesRefresh APIRefresh history

Select a component to read its role

Which visual would change?

Before changing the discount calculation, the model owner needs to know which report authors to contact. A workspace inventory can identify reports bound to Sales. To find a particular card, the platform also needs the published report definition, the model’s calculation dependencies, and the mapping to Gold.

Here is the path for one card in the pilot.

One card, traced back to Gold
  • Gold column gold.sales.discount_amount
  • Model column Sales[DiscountAmount]
  • Measure [Total Discount]
  • Measure [Net Sales]
  • Report visual Regional Sales / Overview / Net Sales card

The Net Sales card references the Net Sales measure directly. Its dependency on Total Discount is indirect. That distinction matters when reviewing a change to the discount column. If the scanner finds a report but cannot read its definition, record the coverage gap and the last scan date. The owner then knows which report still needs a manual check.

LineageFrom the Gold discount column to the Net Sales card in Regional Sales

  • Data
  • Control
  • Metadata
Power BI Service · Report definitionPower BI · Model calculationsDatabricks and PBIP · Source fieldsImpact analysis · Example resultRegional SalesPublished outside GitScanner APIReport and model IDsgetDefinitionPublished report definitionVisual and fieldCard → [Net Sales]DOMAIN MODELSales modelShared semantic modelDAX queryexecuteDaxQueriesCalculation linksINFO.CALCDEPENDENCYNet Sales[Total Discount]DELTADelta tablesBronze → Silver → GoldUnity CatalogTable and column lineageGOLDGold sales tablegold.sales.discount_amountModel columnSales[DiscountAmount]DELTADependency graphUnity Catalog · DeltaNet Sales cardRegional Sales / OverviewCoverage gapReason and last scan

The drawing

From column to visual

Follow the discount column through the model’s DAX measures to the Net Sales card in the Regional Sales report. The published report definition identifies the page and visual.

15 parts

SourcesScanner APIReport definitionDAX query APIDAX dependencies

Select a component to read its role

Technical notes

Keep the production model ID stable

Promote the same reviewed revision through Dev, Test, and Prod. Bind it to the correct catalog, warehouse, and Power BI connection in each environment. Updating the existing production model preserves the bindings of reports published independently by other teams. Test a representative KPI and row-level security with viewer identities before completing the release.

DeploymentFrom approved commit to Databricks and Power BI

  • Data
  • Control
  • Metadata
Git and CI/CDDatabricksPower BIReporting teamGITProject repositoryBundle · PBIP · contractsPull requestValidation and reviewPromote releaseDev → Test → ProdBundledeploymentDatabricks CLILakeflowjobsBronze → Silver → GoldPBIPdeploymentfabric-cicdDomain modelTarget workspaceSelf-servicereportsBuild · team workspaceManagedreportsOptional · PBIRModel ID

The drawing

Deployment across environments

CI/CD deploys the Databricks resources and the domain model from the same approved release. Report authors connect to the production model with Build permission.

9 parts

SourcesPBIP deploymentBuild permission

Select a component to read its role

Separate acceptance from completion

An HTTP 202 means Power BI accepted the refresh request. Store the request ID and status URL when available. Advance the last successful business date only when the status reaches Completed. If the submission response is lost, reconcile it against refresh history before retrying. An ambiguous match needs investigation.

Pin the inputs during an import

Deduplicating on environment, model ID, and release ID prevents duplicate submissions. It cannot freeze the source tables. If Gold may advance while Power BI is reading multiple tables, pin the input versions to the release or coordinate the next publication with the reader.

What the pilot should prove

Start with the Sales model and two independently owned reports. Delay the returns input deliberately and verify that the model waits. Release it, confirm that both reports agree with Gold, and check that only one refresh completed for that release. Then change the discount column in a test environment and verify the path to the Regional Sales card.

For the same reporting workload, measure warehouse usage, Power BI capacity consumption, report latency, and the time between Gold publication and model availability. Those measurements will tell the domain owner whether this design meets the agreed freshness target.

Further reading

  1. Deploy Power BI Projects with fabric-cicdlearn.microsoft.com
  2. Power BI REST API · Refresh dataset in grouplearn.microsoft.com
  3. DAX · INFO.CALCDEPENDENCYlearn.microsoft.com

Drawing credits

Databricks
Product icons come from Databricks. The Bronze, Silver, and Gold symbols come from its reference architecture. Databricks brand guidelines · Reference architecture
Microsoft
The Power BI, Fabric, report, and semantic model icons come from the Microsoft Fabric icon set. Workflow symbols come from Fluent System Icons. Fabric product icons · Fluent System Icons
Git
Jason Long designed the Git logo. Git logo downloads · CC BY 3.0

More from the journal

Index of entries
  1. 02Fabric data agents, one domain eachA design for scoping Microsoft Fabric data agents. How many semantic models one agent should carry, how to sort a tenant's models before any is attached, and how domain agents sit under one orchestrator.DataArchitecture study
  2. 03I tested Qwen3.8-Flash-Next on a DGX Spark with Hermes Agent. Here are the numbers.Sixteen hours of measurements on a single NVIDIA DGX Spark. Generation speed, prompt processing, concurrency, GPQA Diamond accuracy, tool calling, long context, and 39 Hermes Agent runs graded by scripts.AITest