Skip links

Medallion Architecture on Databricks: Building Trusted Data Layers for Retail and FMCG Decisions

Medallion architecture on Databricks helps retail and FMCG organisations build trusted data layers when finance, e-commerce, and planning each report a different revenue number.

When that happens, the problem is rarely the dashboard.

The problem usually sits deeper in the architecture.

The same transaction may move through three different pipelines, three different transformation rules, and three different interpretations of revenue, returns, marketplace commissions, promotions, or timing. Each team may work from data that looks correct inside its own report. Yet the numbers no longer agree when leadership needs one shared view of performance.

That is where trust starts to break.

A revenue reconciliation meeting can take hours without solving the real issue. A margin report can lose credibility because nobody can clearly explain the logic behind it. A planning dashboard can create doubt because its sell-through does not match the commercial P&L.

A Power BI report can be technically accurate and still fail the business if the definitions behind it remain inconsistent.

This is not only a data quality issue. It is an architecture issue with commercial consequences.

Databricks describes the medallion architecture as a design pattern that organises lakehouse data into Bronze, Silver, and Gold layers. Each layer improves the structure and quality of the data as it moves through the architecture. Bronze captures raw data, Silver cleans and standardises it, and Gold provides business-level outputs for analytics, reporting, and machine learning.

For retail and FMCG organisations, that discipline matters because commercial decisions depend on shared definitions. Revenue, margin, return rate, sell-through, stock cover, promotion impact, and channel performance cannot mean something different in every report.

If they do, the business loses time debating the number instead of acting on the decision.

The value of medallion architecture on Databricks is not the naming convention. The value is the discipline it creates. The architecture preserves raw data, governs shared transformation logic, and serves business-ready outputs consistently to Power BI, ML models, planning tools, and AI-driven decision workflows.

The real question is not whether Bronze, Silver, and Gold exist in the architecture diagram.

The real question is whether each layer has a clear responsibility, whether the right layer governs business logic, and whether teams trust the outputs enough to act on them.

Why Medallion Architecture on Databricks Matters in Retail and FMCG

Retail and FMCG data is complex because the business itself is complex.

Sales data may come from stores, owned e-commerce, marketplaces, wholesale partners, distributors, and third-party platforms. Inventory may sit across warehouses, stores, fulfilment centres, suppliers, and in-transit positions. Product data may come from PIM systems, ERP systems, supplier files, enrichment tools, and local market adaptations.

Promotions, returns, pricing, and customer feedback add further layers of interpretation.

Each source has its own logic. Each system has its own structure. Each team has its own reporting need.

Without a shared architecture, data pipelines often become point-to-point solutions. One pipeline feeds finance reporting. Another feeds store performance. Another feeds digital analytics. Another supports replenishment. Another supports category management.

Each pipeline may work well in isolation, but each one applies business logic in its own way.

This is how organisations end up with multiple versions of the same metric.

The medallion architecture solves this by creating a shared transformation path. Bronze preserves raw data. Silver cleanses and conforms the data. Gold publishes business-ready outputs for Power BI, ML models, planning tools, and decision-support workflows. Databricks also describes Bronze, Silver, and Gold as distinct layers with increasing levels of data quality, which supports this structured approach to trusted enterprise data products.

The commercial value is simple: the business should not need to reconcile every metric every time a decision matters.

If a Head of Commercial asks why sell-through in the planning tool differs from sell-through in the executive dashboard, the answer should not require three teams, five extracts, and a manual investigation.

In a well-designed medallion architecture on Databricks, both outputs use the same Gold layer. Gold uses governed Silver logic. Silver uses traceable Bronze ingestion.

That lineage gives the business a reason to trust the number.

Trust is not a soft benefit.

It is what allows teams to act faster.

What Belongs in the Bronze Layer?

The Bronze layer stores source data exactly as it arrives.

Data teams should not correct, enrich, deduplicate, or interpret the data too early.

That may feel counterintuitive. The natural engineering instinct often says: fix obvious issues during ingestion. If a file contains duplicate rows, inconsistent date formats, missing product IDs, or strange values, it can feel efficient to clean it immediately.

In a medallion architecture, doing that too early weakens the design.

Bronze exists to preserve the original record.

This matters because business rules change. Product hierarchies are reorganised. Channel classifications evolve. Return policies change. Promotion definitions shift. Market structures move. Finance may decide that historical reporting needs a different exchange-rate methodology.

When these changes happen, the organisation needs the ability to reprocess data from the original source state.

A raw Bronze layer makes that possible.

Without it, teams may need old extracts from source systems that no longer retain the data, no longer use the same schema, or no longer provide the same historical detail.

For retail and FMCG, Bronze typically captures ERP transactions, POS files, e-commerce events, marketplace feeds, PIM exports, WMS inventory snapshots, supplier EDI files, promotional calendars, customer reviews, feedback text, and return-reason data.

Data teams should land these sources with traceability, ingestion metadata, schema history, and enough context to support future reprocessing.

Business users may never interact directly with Bronze. But Bronze protects the architecture from losing history.

It gives the organisation the ability to rebuild logic when the business changes. And in retail and FMCG, the business always changes. That little chaos engine is part of the charm.

A strong Bronze layer answers one important question:

Can we always go back to the original data and rebuild the truth under better rules?

Why Silver Is the Most Important Layer for Commercial Trust

Silver turns raw data into commercially usable data.

In Silver, data teams align product hierarchies, standardise channel definitions, handle duplicate records, connect returns back to orders, match promotions to transactions, normalise currencies, and make time zones consistent.

This is also where the organisation makes many of its most important governance decisions.

If Bronze protects history, Silver builds trust.

This is why Silver is the most underestimated layer in retail and FMCG architectures. Teams often want to move quickly from ingestion to dashboards, especially when the first use case feels urgent.

The risk is that teams design Silver around one immediate reporting need rather than the wider set of commercial questions the business will ask later.

That shortcut becomes expensive.

A Silver layer built only for a sell-through dashboard may fail when the business later needs return-risk analysis, markdown optimisation, channel profitability, or supplier-quality reporting.

A product hierarchy that works for one category may not work for another. A channel taxonomy designed for owned e-commerce may not handle marketplaces, wholesale, outlet, or store formats properly. Currency logic embedded in one downstream report may not match finance reporting elsewhere.

The strongest Silver layers support recurring commercial questions, not only the first dashboard.

What does the business need to answer again and again? Which definitions do teams share? Which KPIs appear in more than one report? Which transformations should finance, planning, digital, and commercial analytics never rebuild separately?

Product hierarchy standardisation belongs in Silver because every downstream consumer needs the same classification.

Channel unification belongs in Silver because margin comparison across stores, e-commerce, marketplaces, and wholesale only works when every transaction follows the same taxonomy.

Promotional matching belongs in Silver because pricing, sell-through, margin, and campaign effectiveness all depend on knowing which transactions occurred under which promotional conditions.

Currency and time-zone logic also belong in Silver. Multinational retail and FMCG organisations cannot allow every report to decide independently how local sales become group reporting numbers.

Finance should decide whether the business uses spot rate, average rate, budget rate, or another methodology. The architecture should document and apply that decision consistently.

Silver should preserve granularity and apply shared logic. It should not become a reporting layer. It should not aggregate away the detail that future use cases may need.

Its job is to create conformed records that downstream outputs can use without reinterpreting the same business rules again.

This is where medallion architecture on Databricks becomes commercially important.

The organisation stops debating definitions and starts building a reusable foundation for decision-making.

What Should Gold Deliver to the Business?

Gold is the business-ready layer.

Gold contains curated, use-case-specific tables that use Silver data and serve Power BI semantic models, planning tools, ML feature stores, and decision-support workflows.

Gold should not try to answer every possible question from broad, generic tables. It should publish outputs the business can actually use.

A good Gold table has a clear consumer, a clear purpose, a clear granularity, and a clear refresh logic.

In retail and FMCG, this may include:

  • daily sell-through by SKU, channel, and market
  • weekly gross margin by category, brand, and channel
  • inventory position by SKU and location
  • return rate by product attribute and customer segment
  • demand forecast outputs by SKU, store, and week
  • price-elasticity coefficients by product segment and market

These outputs matter because they sit close to the decision.

A merchandising team does not need raw transaction records when reviewing products at risk. It needs a trusted view of sales, stock, sell-through, margin, lifecycle, and expected demand at the level where action can still happen.

A pricing team does not need to inspect the full modelling environment when considering a markdown. It needs a governed output showing margin impact, demand response, and inventory exposure.

This is also where ML outputs should become business outputs.

A demand forecast should not remain isolated in an ML environment. Teams should promote it into Gold alongside actuals, so planners can compare forecast and performance in Power BI or planning tools.

A price-elasticity coefficient should not sit in a notebook where only a data science team can interpret it. It should inform markdown workflows in a format commercial teams can use.

Gold succeeds when downstream consumers can use the data without transforming it again.

If every Power BI report, planning tool, or analytical workflow still rebuilds core logic after consuming Gold, the Gold layer or semantic model is missing something important.

In retail and FMCG, Gold should not simply be “the reporting layer.”

Gold should bring trusted data close enough to the decision for planners, commercial teams, and AI workflows to use it without rebuilding logic.

The design question for Gold is simple:

Can the business use this output directly, with confidence, in the decision it was built to support?

Where Do Medallion Architectures Usually Break?

Medallion architectures rarely fail because Bronze, Silver, and Gold are difficult concepts.

They fail when teams do not respect the responsibilities between layers.

The first common mistake is putting logic in the wrong layer. Teams may clean data too aggressively in Bronze, apply report-specific logic in Silver, or allow Gold to become a collection of one-off tables for individual dashboard requests.

Each shortcut may feel efficient in the moment, but each one creates a new place where definitions can drift.

The second mistake is under-governing Silver.

This is the most damaging issue in retail and FMCG because Silver creates commercial truth. If teams do not document and enforce product hierarchy, channel logic, currency conversion, return treatment, and promotion matching in Silver, the ambiguity moves downstream into every report, model, and workflow.

The third mistake is overbuilding Gold.

When every report request gets its own Gold table, the architecture begins to recreate the fragmented pipeline structure it was meant to replace. The Gold layer should contain the smallest number of reusable, business-ready outputs that serve downstream needs without forcing consumers to rebuild core logic.

The fourth mistake is designing for the current use case only.

A medallion architecture built only for the first dashboard may look successful at launch, but it becomes fragile when the second or third use case arrives. Retail and FMCG organisations need architecture that can support forecasting, margin analysis, return risk, product performance, channel profitability, allocation, pricing, and executive reporting without rebuilding the foundation each time.

The deeper issue behind all of these mistakes is the same:

Teams treat the architecture as a technical structure rather than a business-logic structure.

Bronze, Silver, and Gold are not only data layers.

They are governance boundaries.

How Should Medallion Architecture Connect to Power BI?

Power BI delivers more value when it draws from governed Gold outputs instead of rebuilding business logic report by report.

This connection matters because Power BI is often where business users experience the data architecture.

They may never see Bronze, Silver, Unity Catalog, Delta Lake, or Databricks Workflows. They see the report, the KPI, the filter, the drill-down, and the number the business expects them to trust.

If the Power BI layer defines revenue, margin, sell-through, return rate, or stock cover differently across reports, the medallion architecture has not solved the business problem.

It has only moved part of the problem closer to the user. Sneaky little problem. New shoes, same personality.

Databricks provides governed, traceable, business-ready data.

Power BI provides semantic logic, KPI presentation, access control, and user-facing analytics in a way that business teams can understand and use.

Teams need to design the two layers together.

Teams should build Gold tables at the granularity and refresh frequency that downstream reports and workflows need. Power BI semantic models should then organise those outputs into consistent business logic and reusable measures.

When multiple reports share a metric, its definition should live in Gold or in a shared semantic model, not inside individual reports.

Databricks documents that Power BI can connect to Databricks clusters and SQL warehouses, and that teams can publish data from Databricks to the Power BI service.

This connection becomes especially important for AI and agentic analytics use cases.

If an AI agent monitors margin risk, prepares markdown proposals, or detects return accumulation, it should use the same governed Gold outputs as the Power BI report that the commercial team uses.

Otherwise, the agent and the planner may look at different versions of the truth.

Trust in AI-driven recommendations starts with trust in the data layer underneath them.

Why Governance and Lineage Matter

Governance and lineage make a medallion architecture much stronger when teams design them into the platform from the start.

Teams should not add them later as a compliance garnish.

For retail and FMCG, governance matters in very practical ways.

If a revenue number changes, teams need to trace where the logic changed. If a Gold table feeds multiple Power BI dashboards, teams need to know which reports a column change may affect. If a margin model uses data from several systems, teams need visibility into how source fields changed across the transformation path.

If sensitive customer data appears in downstream analytics, governance should show where it flows and who can access it.

Unity Catalog provides a unified governance layer in Databricks, including access control, lineage tracking, activity logging, and governance for data and AI assets. Databricks also explains that Unity Catalog lineage can support impact analysis, root-cause investigation, and tracking sensitive data flows across downstream assets.

Lineage is not just a technical feature.

It is how the organisation protects trust when the architecture changes.

What BeeBI Focuses on When Designing Medallion Architecture

For BeeBI, medallion architecture on Databricks is not a template to copy.

It is a design discipline that should reflect how the business actually makes decisions.

Before designing Bronze, Silver, and Gold, the more important questions are commercial and operational.

Which decisions need to happen faster? Which KPIs currently disagree? Which source systems does the business truly trust? Which systems do teams only tolerate because no better version exists? Which Power BI reports are business-critical? Which data transformations do teams duplicate across reports? Which use cases require historical granularity, and which require aggregated business-ready outputs?

The answers to these questions determine how teams should build the architecture.

They influence which sources land first in Bronze, which business definitions need priority in Silver, which Gold tables should come first, and how those outputs should connect to Power BI, planning tools, forecasting models, and agentic workflows.

BeeBI works at the intersection of Databricks lakehouse architecture, governed data modelling, Power BI semantic layers, machine learning outputs, and business-facing decision workflows.

BeeBI’s goal is not to create a technically elegant data structure that only the engineering team understands.

BeeBI’s goal is to create an architecture that the business can trust, reuse, and act on.

A well-designed medallion architecture should reduce reconciliation effort, increase confidence in KPI logic, support faster reporting, prepare the foundation for machine learning, and make AI-driven analytics safer because every output draws from governed data.

The practical question for every data, analytics, or commercial leader is straightforward:

Does the current architecture help the business act on one trusted version of the truth, or does it keep producing new places for the numbers to disagree?

Ready to Build a Databricks Architecture the Business Can Trust?

Medallion architecture on Databricks should do more than organise data into Bronze, Silver, and Gold.

It should give teams a governed path from raw source systems to trusted commercial decisions.

BeeBI Consulting helps retail, e-commerce, FMCG, and supply chain teams design Databricks lakehouse architectures that connect raw ingestion, governed transformation logic, business-ready Gold outputs, Power BI semantic models, machine learning outputs, and decision-support workflows.

If your teams still spend time reconciling KPI differences, rebuilding logic inside Power BI reports, questioning revenue or margin definitions, or struggling to turn lakehouse data into usable commercial outputs, the architecture deserves a closer look.

Let’s identify how your Bronze, Silver, and Gold layers can support trusted reporting, advanced analytics, and faster business decisions.

Leave a comment

This website uses cookies to improve your web experience.