Himanshu Gaurav.nb
DATA EXPERIENCE / Towards Data Experience

If I Had to Start Over in Data Today: Building for Real Value in the AI Era

(And Why I’d Start Very Differently If I Had to Do It All Over Again( Retail Domain & Databricks as an example)

Originally published on Medium ↗ on 2026-01-01. This edition preserves the original article text.

(And Why I’d Start Very Differently If I Had to Do It All Over Again)

If I’m brutally honest, most Data + AI initiatives are not failing because of technology. They are failing because knowledge stays tribal, and adoption is low.

A handful of people know:

Why last week’s sales spike “isn’t real.”

Why inventory numbers differ across systems

Why promotions “worked” on paper but not in stores

Which metric does the business actually trust (even if the dashboard says otherwise)

This knowledge lives in people’s heads, Slack threads, and meeting rooms — not in data. And when that happens, AI doesn’t stand a chance .

(Credit: Nano Bana)
(Credit: Nano Bana)
If I were starting today — in a world obsessed with GenAI, copilots, and instant answers — my approach to building data products would look very different. I would optimize less for technical perfection and more for speed to trust, speed to value, and real adoption.

Let me walk you through how I’d do it. Since my expertise is in the Retail domain and Databricks, I will use it as an example.

The Core Shift: From Platforms to Products, From Data to Decisions

Before discussing technology, let’s get our mindset right.

A data product (Link to Data Product Blog) is not:

  • A table
  • A dashboard
  • A semantic layer
  • A machine learning feature

A data product is:

A trusted, governed, well-understood representation of a business concept that directly enables decisions.

In retail, that means things like:

  • “Daily sales by product-location”
  • “Available-to-promise inventory”
  • “Net effective price after promotions”
  • “Promotion lift with context”

These are business ideas, not schemas.

Where I’d Start in Retail: Ruthless Prioritization

(Focus on the 4 Foundations that stop the bleeding)

Instead of boiling the ocean, I would start by identifying the 10 most critical datasets that power 80% of retail decisions. In my experience, if these four pillars are shaky, your fancy AI demand forecasting is essentially a “random number generator” with a better UI.

1. Master Data: The “DNA” of the Business

If Master Data isn’t stable, everything else lies convincingly. This is the non-negotiable bedrock.

  • Real-World Example: I once saw a “Flash Sale” fail because the Product Lifecycle attribute was set to “Discontinued” in the ERP but “Active” in the Web Store. The customer could buy it, but the warehouse system blocked the shipment.
  • The Fix: You need a single, governed view of:
  • Product Hierarchy: Is it a “Core” item or “Seasonal”? (This changes how you treat out-of-stocks).
  • Location Hierarchy: Is it a “Physical Store,” a “Dark Store,” or a “Regional DC”?
  • Time Hierarchy: You must align on the 4–5–4 Retail Calendar. If Finance reports on fiscal months and Operations reports on retail weeks, your Monday morning meetings will be spent arguing about which numbers are “right” instead of how to sell more.

2. Interpreted Sales: The Heartbeat (Filtered for Truth)

Raw transactions are just noise. Interpreted Sales are a data product.

  • Real-World Example: A massive spike in e-commerce sales looks great on a dashboard. However, if you don’t filter out Marketplace Resellers who bought 500 units of a limited-edition sneaker in a single second, your “demand signal” is skewed. Your AI will tell you to restock for a “consumer trend” that was actually just a bot attack.
  • The Fix: Build a product that distinguishes:
  • Organic Demand vs. Bulk/B2B buys.
  • Net Sales (Gross minus Returns). In retail, a sale isn’t a sale until the return window closes.

3. Inventory: Where Trust Goes to Die

Inventory data needs clarity, not cleverness. This is usually the first place business users stop trusting the data team.

  • Real-World Example: The “Phantom Inventory” crisis. The system says there are 2 units of a high-end handbag in Store #104. A customer drives 30 miles to buy it, but the shelf is empty. Why? Because those 2 units were “Shrink” (stolen or lost) but hadn’t been reconciled yet.
  • The Fix: Don’t just show “Balance.” Show the Inventory State:
  • On-Hand: Physical count.
  • In-Transit: “It’s on the truck, don’t sell it yet.”
  • Available-to-Promise (ATP): “On-hand minus Reserved minus Safety Stock.” This is the only number the business actually cares about.

4. Pricing & Promotions: Adding the “Why”

Pricing without context is just a number. To drive value, you need to know the intent behind the price.

  • Real-World Example: Your margin is dropping in the “Electronics” category. Is it because the cost of goods (COGS) went up? Or because a local manager triggered an unapproved “Manager’s Special” markdown to clear old stock?
  • The Fix: Link the price to the Funding Source:
  • Markdown: We are losing money to move old stock.
  • Promotional Lift: We are losing margin on this item to drive “Basket Growth” (people buying chips with their soda).
  • Vendor Funded: The brand is paying us to drop the price, so our margin stays protected.

The “Do-Over” Philosophy

If I get these four right — deeply right — I don’t need 200 datasets. I need these few excellent ones.

When your AI (like Databricks Genie) can distinguish between a vendor-funded promotion and a clearance markdown, it stops being a chatbot and starts being a Retail Consultant.

How I’d Turn These into Real Data Products

This is where most teams over-engineer. I wouldn’t.

Step 1: Start at the Lowest Grain (But Don’t Expose It Widely)

For example, Sales:

Lowest grain: Transaction Line → Product → Location → Date → Channel

This is not for everyone — but it’s foundational.

From here, I’d intentionally create progressive data products:

Step 2: Build Progressive, Purpose-Driven Products

Sales Data Products

Sales Core (Atomic, Internal)

  • Trusted transactions
  • Strict contracts
  • Heavy observability

Sales Daily Snapshot

  • Product-location-day
  • Net sales, units, margin

Sales Performance

  • Week-to-date, period-to-date
  • Comparable sales logic embedded

Sales Insights

  • Trends, anomalies, context (promo, holiday, stock status)

Each layer answers a different question.
Each is a product, not a view.

Same approach for:

  • Inventory (from movements → balances → availability → risk)
  • Pricing (from events → effective price → customer impact)
  • Promotions (from setup → execution → effectiveness)

The Non-Negotiables: What I’d Lock Down Early

Work with the leadership, SMEs, source systems, and business teams to align this. Before scaling anything, I would stabilize these four pillars:

No Compromises on Data Stabilization
No Compromises on Data Stabilization

1. Data Contracts: “Net Effective Price”

The Goal: Let’s consider the “Net Effective Price” metric as an example. Stop the argument about “Which price is the right price?”

The Problem: The ERP has a base price. The POS has a transaction price. Marketing has a promo price. Finance has a realized price. I am not complicating this example with the currency conversion aspect.

The Fix: A contract that explicitly defines how we arrive at the “Net Effective Price” so everyone (and the AI) agrees.

Data Contract: sales.net_effective_price_daily

YAML

data_contract_id: "urn:retail:sales:net_effective_price"domain: "Sales & Margin"owner: "team-merch-analytics@company.com"status: "production"# The "Human" Agreement (Crucial for Trust)description: >  The final realized price of a single SKU sold at a specific location on a specific day.  This metric accounts for ALL layers of discounts:  1. Base retail price  2. Line-level markdowns (clearance)  3. Basket-level allocations (e.g., "Spend $100 get $20 off" prorated across items)  4. Vendor coupons are EXCLUDED (treated as tender, not price reduction).# The Service Level Agreement (SLA)slas:  freshness: "Data is finalized by 06:00 AM local store time (T+1)"  quality: "Null prices are strictly forbidden. >99.9% distinct transaction coverage."  retention: "Rolling 5 years history."# The Schema (Technical Specs)schema:  - name: date_key    type: date    description: "Fiscal reporting date"  - name: product_id    type: string    primary_key: true  - name: location_id    type: string    primary_key: true  - name: gross_sales_amt    type: decimal(10,2)    description: "Qty * Base Price (Before any discounts)"  - name: total_discount_amt    type: decimal(10,2)    description: "Sum of line_discounts + prorated_basket_discounts"  - name: net_effective_unit_price    type: decimal(10,2)    description: "(gross_sales_amt - total_discount_amt) / units_sold"    constraints:      - "must_be_positive"      - "must_be_less_than_gross_price"# The Logic (Encoding Tribal Knowledge)# This section tells the engineer exactly how to calculate it so there is no ambiguity.logic_definition:  formula: "Net Sales / Units Sold"  exclusions:    - "Employee discounts are INCLUDED in discount calculations"    - "Tax is EXCLUDED"    - "Returns are EXCLUDED from this view (see sales.returns_daily)"

Why this works:

  • It explicitly calls out the edge cases (Vendor coupons vs. Store discounts).
  • It defines “Total Discount” to include that tricky “basket level prorated” discount that usually breaks dashboards.

2. Observability

  • The Trap: Most data teams optimize for Pipeline Observability. They have beautiful dashboards showing all green checkmarks. “The job ran successfully in 4 minutes!”
  • The Reality: The job ran, but it processed zero records. Or it processed records, but the revenue column was all NULL because the POS vendor changed a field name without telling you.

War Story: The “Zero Sales” Monday

It was a Monday morning in November (peak season). My pipeline dashboard was all green. I felt great.
Then the CEO called. “Why are sales in the Northeast region down 98% yesterday?”
The Issue: A store system update changed the timestamp format from MM-DD-YYYY to YYYY-MM-DD. The pipeline didn't fail; it simply cast those "invalid" dates to NULL or rejected them into an error table that nobody reviewed.
The technical pipeline succeeded. The business reality was a disaster.

How I’d Fix It Today: Semantic Monitoring

I wouldn’t just check if the job ran. I would use tools (like Databricks Lakehouse Monitoring) to check the shape and statistical properties of the data inside the table.

My “Must-Have” Monitors:

  1. Volume Anomaly Detection:
  • Rule: “If row count drops by >20% compared to the 30-day rolling average for this specific day of the week, FAIL the pipeline.”
  • Why: It catches the “Zero Sales” bug before the CEO sees it.
  1. Distribution Shift (The AI Killer):
  • Rule: “Alert me if the % of transactions with promo_code = NULL shifts significantly."
  • Why: If your AI predicts demand based on promotions, and suddenly your data says nobody is using promos (because of a logging error), your AI will over-order inventory.
  1. Business Logic Assertions:
  • Rule: “Net Sales cannot be negative unless transaction_type is 'Return'."
  • Rule: “Inventory cannot be > 0 if store_status is 'Closed'."

The Takeaway: Stop monitoring the pipes. Start monitoring the water.

3. Governance That Enables (Not Blocks)

  • The Trap: Traditional governance is about restriction. It’s a series of friction points. “Open a ticket,” “Wait for approval,” “Explain why you need this.”
  • The Result: Shadow IT. When you make data hard to get, smart people don’t stop working. They just stop asking you. They export data to Excel, email it to their personal Gmail, and build “Rogue Marts” on their laptops.

War Story: The Excel Sheet that Ran the Midwest

I once found out that the entire inventory replenishment strategy for a major region wasn’t running on my sparkly new cloud platform. It was running on a macro-heavy Excel sheet named Inv_Replen_Final_v3.xlsm hosted on a shared drive.
Why? Because the Regional VP said, “Your governance process takes 2 weeks to give me access to a new table. Bob can add a column in Excel in 2 minutes.”
Bob was using stale data, bad logic, and no security. But he was fast.

How I’d Fix It Today: Governance as an Enabler (Unity Catalog)

Today, I use governance to make data easier to find, not harder to access. I use tools like Databricks Unity Catalog to flip the script.

1. Discovery is Free, Access is Gated:

  • Old Way: You can’t see the table exists unless you have access.
  • New Way: Everyone can see the metadata (table name, column descriptions, owner) in the Catalog. If they want to query it, they click “Request Access.” This reduces the “I didn’t know we had that data” problem.

2. Automated Lineage (The Trust Builder):

  • The Feature: Automatic lineage graphs that show: Raw Scan -> Bronze -> Silver Sales -> Gold Regional Report.
  • The Value: When a user asks, “Is this number right?”, I don’t argue. I send them the lineage link. They can see exactly where it came from. Transparency builds trust faster than accuracy.

3. Attribute-Based Access Control (ABAC):

  • Instead of managing 1,000 individual permissions (“User A needs Table B”), I tag the data.
  • Tag: PII_sensitive
  • Rule: “Only HR group can see columns tagged PII_sensitive."
  • Now, I can give the Data Science team access to the Sales table, but the system automatically masks the customer_email column. They get their data; I get my security. No tickets needed.

4. The Non-Negotiables: Ontology, Taxonomy & Tribal Language

This is where most AI initiatives quietly fail — not because the models aren’t smart, but because the business language they’re trained on is incomplete.

Retail runs on implicit understanding.

People rarely say exactly what they mean — they say things like:

  • “Inventory looks good here”
     (Translation: on-hand is healthy, inbound is on time, and nothing is stuck in the DC)
  • “These sales are clean”
     (No clearance, no one-time bulk orders, no promos inflating the numbers)
  • “The promo went sideways”
     (Execution issues in stores, poor placement, or inventory wasn’t there when demand hit)
  • “This store always overperforms”
     (High traffic, loyal customer base, favorable demographics, and historically strong execution)
  • “That category is seasonal — don’t overreact”
     (Short-term dips are expected; compare against the right time window, not last week)

None of this context lives in raw tables.
But every important retail decision depends on it.

If you feed raw data to an AI model without this context, the AI will look at a sales spike caused by a glitch and tell you to order 10,000 more units. That is how you bankrupt a company.

So I’d Make This Explicit in the Data Products Themselves

Instead of burying this meaning in Confluence pages or tribal conversations, I would encode it directly into data products through three layers:

Ontology — What Exists and How It Connects

A shared understanding of core entities and their relationships:

  • Products roll up into categories and subcategories
  • Stores belong to regions and fulfillment networks
  • Promotions affect pricing, demand, and inventory simultaneously
  • Customers interact across channels, not in silos

This gives AI the shape of the business.

Taxonomy — How the Business Groups and Interprets Data

Retail is hierarchical by nature:

  • Product → Department → Category → Subcategory
  • Store → Market → Region
  • Promotion → Type → Mechanic → Funding source
  • Date → Fiscal Week → Fiscal Month → Fiscal Quarter → Fiscal Month

These hierarchies aren’t just for reporting — they define how the business reasons.

A promo analyst doesn’t ask about “SKU 12345.”
 They ask, “How did beverages perform during the summer promo window?”

Business Vocabulary — The Language People Actually Use

This is the most overlooked piece — and the most valuable.

Terms like:

  • “Available inventory”
  • “Clean sales”
  • “Promo noise”
  • “Base demand”
  • “Weather-impacted stores”
  • “Newness effect”
  • “Markdown pressure”

These should not be vague phrases floating in conversations.
 They should be defined, versioned, and embedded into the data products themselves.

Why This Matters (Especially for AI)

When ontology, taxonomy, and business language are part of the data product:

  • AI understands context, not just metrics
  • Genie can answer why, not just what
  • New analysts ramp faster
  • SMEs stop being bottlenecks
  • Trust moves from people to platforms

In short:

AI doesn’t need more data.
 It needs shared meaning.

And meaning only emerges when we stop treating tribal knowledge as “soft” and start treating it as first-class data.

Where Databricks Fits Naturally

Databricks is not just a Lakehouse; it’s the framework that turns tribal knowledge into a first-class citizen.

Here is how Databricks powers(some important components)this “do-over” strategy:

  • Unity Catalog (The Heart of the System): This isn’t just governance; it’s the Center of Excellence. Unity Catalog allows us to enforce those Data Contracts at the source. More importantly, it provides the Automated Lineage that builds trust. When a merchant asks, “Where did this ‘Net Effective Price’ come from?”, I can show them the visual trail from POS to Product in seconds.
  • Lakehouse Monitoring (Observability at Scale): This is how we move from “monitoring the pipes” to “monitoring the water.” It allows us to set those semantic alerts (like the “Zero Sales Monday” check) natively. If the distribution of a metric shifts — meaning the business reality changed — the platform tells us before the dashboard does.
  • Metric Views (The Semantic Truth): This is the game-changer for 2025. By capturing metric definitions directly in Unity Catalog, we encode the Ontology and Taxonomy into executable code. It’s the “Certified” badge for your math, ensuring that Finance, Ops, and AI all speak the same language.
  • AI-Native Consumption (Custom Intelligence): Databricks doesn’t just “have AI”; it is built for it. From fine-tuning models on your specific retail data to deploying Custom Intelligence agents, it ensures that your AI is grounded in the “shared meaning” we worked so hard to build. The most important aspect is governance, with observability integrated to monitor every detail of AI operations and ensure accountability. For example, Genie is a conversational agent for BI Analytics, which you can get started with in just a few steps.

Genie Spaces: Turning Data Products into Conversational Assets

Once domain data products are stable, I’d create Genie spaces aligned to each domain:

  • Sales Genie
  • Inventory Genie
  • Pricing & Promotions Genie
  • Master or Supervisor agent (AgentBricks)

Each Genie:

  • Is grounded only in trusted data products
  • Understands the ontology and business language
  • Explains why, not just what

Now instead of:

“Can you build me a dashboard?”

The conversation becomes:

“Why did sales dip in the Northeast last week despite promotions?”
Genie Spaces for Conversational Analytics
Genie Spaces for Conversational Analytics

That’s when adoption explodes.

Genie doesn’t replace analysts — it multiplies SMEs, as beautifully articulated in the Databricks Genie SME multiplier perspective.

The Big Difference If I Started Today

If I summarize my “do-over” approach:

  • I’d start with fewer datasets
  • I’d obsess over meaning before models
  • I’d treat tribal knowledge as first-class data
  • I’d design for questions, not queries
  • I’d have governance by design
  • I’d use AI after trust, not before it

AI doesn’t fix broken data foundations.
But when data products are well-designed, AI becomes inevitable.

Final Thought

The fastest way to deliver value in today’s AI-focused era isn’t to chase the newest model or platform feature.

It’s to:

Transform the most critical business concepts into trusted, explainable, and conversational data products.

Do that well , and everything else compounds.

I hope you found it helpful! Thanks for reading!

Let’s connect on LinkedIn!

Link to Blogs on various topics in Data Space

https://medium.com/towards-data-experience

https://towardsdataexperience.substack.com

Author

Himanshu Gaurav — www.linkedin.com/in/himanshugaurav21

Note: Please note that all opinions expressed in all the blogs are solely my own and do not reflect the views or opinions of any organization or entity I may be affiliated with.