How Much Did That Order Actually Make? Retail Finance Turns to AI

Customers buy online, pick up in store, return to a different location—and one sale fragments into several messy ledger entries. Databricks built Genie as finance's AI sidekick: first, figure out what that order really earned; then, keep an eye on trapped cash and decide when discounts are actually warranted.

By Databricks Blog07-15 · 10 min read⚑ Company PR · read with that in mind
🎧 Listen to the podcast0:00 / --:--
0:00 / --:--
Deep Dive · Databricks
Main Story Databricks Blog · 2026-07-14 · Sarah Duffy Case Study Unilever × Genie Product Databricks Genie

Based on Databricks' official blog and Unilever's public case study. All figures, user counts, and industry forecasts follow the source material; the numbers in the profit waterfall are illustrative, designed to clarify the concepts rather than represent any specific store's ledger.

01 The ProblemOmnichannel + Agents outpace finance
02 The ShiftGenie: a finance buddy who knows the business
03 Three QuestionsTrue profit → Cash → Full price
04 The ResultUnilever: days → minutes

The Problem: The Easier You Make It to Buy, the Harder It Is to Count

Forget the product name for a second. This article is about one thing first: the path a purchase takes is so tangled now that the money quietly leaks away along the way. By the time the report is done, the floor has changed again.

Here's the most common example:

You order a jacket in the mobile app and choose "ship from a nearby store, delivered tonight." Three days later it doesn't fit, so you return it to a different store. To you, that's just "bought it, returned it." To the company's books, it splits into at least three headaches:

① Where did it ship from?Shipping from a store usually costs more than from a central warehouse (staff pick the item, inventory gets tied up). The same jacket can net the company very different amounts depending on the fulfillment path.
② Who eats the return?The money came in through the app, but the jacket came back to a different store. Revenue is booked to e-commerce, while the return cost lands on the store—the two sides don't reconcile, and finance ends up with a headache.
③ Who changed the price?Promotions aren't always triggered by a human hitting a button. Systems and AI adjust prices automatically. The plan says "don't discount too hard," but the system may have already run another round. By the time the weekly report surfaces, the discount has already happened. Industry forecasts suggest that by 2028, roughly 15% of daily business decisions will involve this kind of automated decisioning (Gartner, forecast basis). The pace only quickens—monthly reconciliation will fall further and further behind.
Channel fulfillment return volatility and the profit line that must be defended
Gray line: orders, shipments, and returns change every hour, like an erratic heartbeat. Red line: what finance really needs to defend—"what did this order actually earn?" Customers enjoy the gray line; the company fears the red one breaking.

Tap Through It: How One Item's Booked Profit Erodes, Layer by Layer

Click through the four steps. The numbers are illustrative, showing how "planned a lot → actually kept less" happens.

Interactive · How one item's profit gets eaten (Illustrative)
Planned profit
$40
After fulfillment
$29
After returns
$19
Actually kept
$19

The books say this jacket was supposed to contribute $40. At this point, nothing has shipped and nobody has returned it—it's the "ideal" ledger.

In reality, it ships from a store, where picking and inventory holding cost more. Only $29 is left. That gap is the "invisible cost of fulfillment."

The customer returns it, the refund goes out, handling costs kick in, and profit drops to $19. If the return lands on a different channel's books, the e-commerce report may still show "selling well."

What's actually in your pocket is $19. If finance only sees the "$40 plan" or "e-commerce is flying," they'll misread the situation. Genie's first job is to answer: after fulfillment and returns, how much did each channel and each product category actually make?

The Shift: Get an AI "Finance Buddy" Instead of Just Another Dashboard

Databricks' answer is called Genie: a data intelligence AI assistant positioned as a colleague who can take plain-language questions from finance and deliver conclusions you can act on—not just a dashboard that refreshes pretty charts.

Traditional BI Dashboard

Rigidly shows "what the data says." Metric definitions are often static. People have to assemble the business meaning themselves, and the charts you prepped for the meeting fall apart the moment the discussion veers.

Genie Finance Buddy

Understands plain language and business context (the ontology). Answers are traceable, governed by permissions, and budget-conscious about AI costs. It prepares repricing, stock-transfer, and price-hold options—but a person makes the call.

Why It Keeps Saying "Understand the Business Logic"

Finance was never afraid of massaging numbers. What it fears is this: the numbers are right, but the story is wrong. When definitions, channels, and cost drivers go stale, the answer can be calculated with perfect precision—and the decision still lands in a ditch. The main article calls this the ontology: capturing "what this number actually means inside your company" and keeping it current as the business changes. Databricks CEO Ali Ghodsi is quoted, in effect: most enterprise AI is confidently wrong guessing; the root cause is a context problem, not an intelligence problem.

Accurate means the number is right. Correct means the same number is wired back to channel, demand, and cost to serve. Accurate vs correct. Precision in isolation is not the correctness you can make decisions on.
Interactive · Accurate vs correct (the same 18.6%)
18.6%
The margin check passes, but it doesn't tell you what channel, demand, and fulfillment costs each contributed. Finance can't make a call on this alone.
The same 18.6%, now wired back: App + store fulfillment, full-price demand is holding, store distribution is raising service costs, some returns cross channels. This is the "correct" you can decide on.
Isolated number
Channel: App + store ship Demand: full-price support holds Service cost: ↑ store distribution Returns: some cross-channel
Left: perfectly accurate and still not correct. Dashboards usually stop here.
Right: Genie's job is to make the answer land inside the business picture by default—traceable, permissioned, and something finance can act on.
Official comparison of accurate numbers versus correct numbers
Official comparison. On the left, the "accurate" number floating alone. On the right, the "correct" number embedded in channel, demand, and cost to serve. In omnichannel, a few hours can make your understanding stale, so the ontology has to stay alive—you can't build it once and file it away.

The main article is also explicit about security: every number traces to a source, permissions are enforced, and the AI's own costs are governed—only then is an answer safe enough to act on. Genie prepares reprice / transfer stock / hold a price,but the human stays in charge.

The Three Questions Genie Helps Finance Track

These aren't three unrelated KPIs. They're a profit loop where each step feeds the next: first see the true profit clearly, then free up trapped cash, then hold the full price while demand is still there.

The three-loop diagram: true profit, freeing cash, holding full price
Official three loops. Margin after fulfillment and returns → Cash freed from inventory → Full price held.
Interactive · How the three questions interlock

Q1: After fulfillment and returns, what did we actually earn?

By channel and by product, after shipping, store distribution, and return markdowns—where does real profit land? If you can't see this clearly, the later moves on transfer and price-hold could hit the wrong products.

  • This is the endpoint of the profit waterfall above
  • Planned markup ≠ what we actually keep
  • Promotion engines can force unplanned discounts

Q2: Which inventory is trapping cash?

Excess, aging, and misplaced stock. The report says "in stock," but the money is stuck. You need to free that cash before the goods age and force markdowns—through transfers, stopping replenishment, or clearance, with supply chain and merchandising making the call.

  • The true-profit heat map will flag where contribution is weak but inventory keeps piling up
  • Move cash early, and you take fewer forced markdowns

Q3: Where does full-price selling start to slide?

Don't wait until you can't move the goods to discount. When demand is still strong, use AI to spot the slide early and avoid discounting whenever possible. Genie can prepare hold / reprice options, but the decision belongs to merchandising and operations.

  • By the time the markdown order lands, the erosion has often already started
  • As agents accelerate pricing decisions, finance needs to see "forming risks"

Loop: Three separate fights, one profit engine

See true profit → find trapped cash → hold the full price that's still supportable → feed the next round of profit. The main article puts it this way: it turns three separate fights into one reinforcing mechanism. Genie learns continuously across all three questions; the human stays in the loop.

Digging into Q2: Three Ways Cash Looks "In Stock"

Interactive · The inventory cash trap

Excess: The inventory looks fine on the books, but turns slowly. Cash is buried in units that won't sell, leaving true demand short at the SKUs that actually need it.

Aging: Time is eating the full price. If you don't move now, you'll slide into forced markdowns—Q3 fails before you get there.

Misplaced: The goods are sitting in the wrong warehouse or store, while another location is missing out on sales. The move is a transfer, not a reorder. Genie explicitly prepares transfer stock.

Each move sets up the next
Official loop. Each move sets up the next; underneath it all, Genie's continuous learning across all three questions.

The Result: Unilever Compresses "Days" into "Minutes"

The main article keeps the results section thin; the customer page has the verifiable scale and impact. This is the proof that the "finance buddy" isn't just a slogan.

Unilever's finance team manages a massive volume of data spanning SAP, customer transactions, and reporting. They spent years building a centralized finance data lake, connecting 30+ SAP sources and legacy systems. The foundation was there, but getting answers out still meant manual prep and spreadsheet stitching. You'd walk into a meeting with a finished analysis, the discussion would veer, and it was back to another round of extracting data.

Days → Min
Finance question response: from days to minutes (per the case study)
≈ €3M
Sharper customer analytics + continuous credit-risk monitoring, with an expected annual cost avoidance of around €3 million
~1,200
The main article cites 1,200+ finance and business users; the case study shows active usage, eventually scaling to ~1,200

“With Genie, we've changed how finance works. What used to take days now takes minutes, and we can explore questions much more freely.”

Cyro Souza · Unilever · Finance asks in plain language, gets analysis in minutes

“Validating a single hypothesis could require significant analytical effort… If the initial assumption proved incorrect, teams often needed to restart… With Genie, you can test multiple hypotheses in minutes.”

Hypothesis validation: from nearly starting over on a wrong assumption to testing several market hypotheses in the same session

“Configuration is the heart of Genie. You need clear definitions and structure, but once that is in place, people can just ask questions and move forward.”

The prerequisite: governed data + a Genie space configured for finance (metrics, synonyms, business context). You don't just drop in a large language model and expect it to talk.

On value realization, the case study maps faster, freer customer-credit-risk and market-hypothesis analysis to an expected "multi-million-euro" annual cost avoidance. Credit risk also moves from periodic reviews to something much closer to continuous monitoring. The data lake solved "do we have one version of the numbers?" Genie solved "can we keep asking follow-up questions in the middle of a live discussion?"

Boundaries: Genie Keeps Watch, It Doesn't Decide Prices

  • It does not directly make pricing, promotion, or markdown decisions. Those belong to merchandising, marketing, supply chain, and operations. Genie provides an accurate, governed view that surfaces risk early and points the responsible team at the action.
  • Finance's mission hasn't changed—speed and complexity have. More margin-related decisions are being made by agents; the tool has to keep up and carry the governance.
  • Ontology + governance = answers you can stake a decision on. The meaning is right, and the source, permissions, and AI costs are all controlled.
  • Configuration is the heart. Unilever: without solid definitions and structure, conversational analysis falls apart.
🧰 Links
The bottom line: omnichannel makes money easier to lose; agents make it drain faster. An AI finance buddy like Genie helps finance see true profit in business context, rescue trapped cash, and discount as little as possible—with every figure traceable and a human still making the call. Without a living context and governance, a faster answer is just a more confident guess.
Sources: main article and Unilever case study, linked above. Structure follows "problem → Genie shift → three questions → Unilever results"; the interactions exist to aid understanding, not to replace the narrative. Waterfall numbers are teaching illustrations.
Source
Databricks BlogDatabricks Blog·Read the source
↑ End of article
✓ This article is free to read in full

Members can copy or download the full Markdown, and let their AI subscribe and ask.

Read the original ↗
📮 New explainers, straight to your inbox

Found this useful? Leave your email — every new explainer, the moment it's out. Unsubscribe anytime.