Dema

Build it yourself, or buy the layer on top

If you already have a data warehouse, you do not need Dema to report on sales. Where it earns its place is the layer above: measurement logic, profitability modelling, forecasting and agents that act. This page is about where that line sits.

Keep building it yourself, if this is the job

If what you need is sales, revenue and order reporting, build it in your warehouse. Most companies at any scale already have one, and Dema is not a replacement for it. A warehouse is usually the better home for finance, BI and bookkeeping, where the priority is being fully reconcilable and historically correct: every figure traceable, every restatement auditable. That is a different requirement from deciding what to spend next week, and it is one your own team can meet better than a vendor can, because they know your edge cases.

The break point is reporting versus deciding

Building gets hard when the ambition moves from describing what happened to choosing what to do next, and harder again when you want software to do the choosing. That is not a dashboard problem. It needs a semantic layer, attribution logic, profitability modelling, forecasting, agent tooling, data access for those agents, workflow automation, and something reliable enough to execute against your ad accounts.

One question that shows where the line is

“What is the optimal marketing plan for Germany next week? Which products should we increase or exclude in PMax to improve profitability, without dropping products that have low sell-through predictions? Summarise the recommended actions, generate the weekly deck from it, schedule it, and share it with marketing and buying. And confirm with me before executing anything to Google.” Nothing in that sentence is exotic. But answering it needs measurement logic, margin after real costs, a sell-through forecast, scheduling, document generation, permissions and an approval gate on an outbound write. Every one of those is a component someone has to build, own and keep running.

What you would be taking on

Not reasons you can't. Reasons it costs more than it first looks.

A semantic layer, before anything else

Agents and analysts both need one definition of ad spend, net sales and contribution margin, not fifteen columns that could each be it. Building that means agreeing definitions across finance, marketing and buying, encoding them once, and defending them as the business changes. It is the least glamorous part and the part everything else depends on.

Profit logic that survives returns

Cost of goods is the easy half. Shipping, toll, pick-and-pack and transaction fees vary by market, warehouse and fulfilment route, and returns arrive weeks after the order, so a margin figure that books returns when they land is systematically wrong for the most recent period. Expected-return modelling per product is a project in itself.

Measurement, not just attribution

Reading platform numbers is straightforward. Deciding how much of each to believe is not: that needs geo-based experiments, a marketing mix model, and something reconciling their answers into one number you can budget against. This is a data science function, not an engineering ticket.

Text-to-SQL is the part people underestimate

The plan is usually "point an LLM at the warehouse". A 2026 benchmark of enterprise text-to-SQL found the best system answered under a quarter of questions correctly even when handed curated documentation of the business's own metric definitions. Company conventions are exactly where SQL generation fails, and in commerce analytics those conventions are the whole job.

Agents that belong to the company, not a laptop

Claude, Cursor and ChatGPT are excellent, and they are provisioned per user. Getting from one analyst's clever prompt to something running on a schedule, with its own scoped access to Google Ads and Shopify, memory that persists, an approval gate before it writes, and a team of non-technical people relying on it: that is a platform, and it is the gap between a demo and a system.

Somebody on call

Once buying reorders against a forecast and an agent adjusts budgets on a schedule, a silent pipeline failure is a commercial event rather than a data-quality ticket. Someone has to own uptime, run the upgrades and answer at 7am on Black Friday.

Where each one is genuinely stronger

Rows where building in-house wins are marked as such. There are more of them than a vendor page usually admits.

Statutory and audited reporting

DemaNot what it is for.
Build in-houseYour warehouse, reconciled to the ledger and historically restatable. Keep this in-house.

Data you alone understand

DemaNeeds modelling with you before it is useful.
Build in-houseYour team already knows the edge cases in your returns, VAT, cancellations and product attributes. Nobody models that faster than you do.

Total control and no vendor risk

DemaA dependency, honestly.
Build in-houseYou own the roadmap, the schema and the exit. For some organisations that is decisive on its own.

Semantic layer for agents and analysts

Dema215 metrics and 110 dimensions, each defined once and combinable almost freely.
Build in-houseBuildable (dbt or a warehouse semantic layer), but the definitions still have to be agreed and then defended over time.

Profit after operational cost and returns

DemaGP3 per product, market and campaign, with rules-based fulfilment costs and actual plus estimated return rates.
Build in-houseThe hardest single piece to get right, and the one most often postponed.

Attribution, MMM and incrementality

DemaAll three, reconciled, with test results calibrating the model and the attribution weights.
Build in-houseA data science team, or an open-source MMM plus the experiment design and analysis around it.

Inventory and sell-through forecasting

DemaSell-through forecasts per size and inventory as of any past date, in the same model as spend.
Build in-houseA forecasting project, then ongoing accuracy work as ranges and seasons change.

Agent platform

DemaScoped tools and integrations, persistent memory, scheduling, app surfaces, approval gates, MCP execution.
Build in-houseThe frameworks are available. The permissions, scheduling, sharing and audit around them are what takes the time.

Time to first decision

DemaMost teams connected within a day; the long pole is agreeing cost data.
Build in-houseQuarters, realistically, for the layer above reporting.

Ongoing cost

DemaA subscription, and a dependency.
Build in-houseSalaries across data engineering, data science and platform work, plus the opportunity cost of what that team is not doing.

Written to be argued with. If you think a row is wrong for your situation, that is a good conversation to have on a call rather than a reason to distrust the page.

It is not all or nothing

The best setups we see are a combination. You keep a strong internal data foundation: returns, cancelled orders, VAT, product attributes, shipping costs, weights, finance reporting, the data-quality work that only you can do. Dema takes the forward-looking layer on top: commercial analytics, measurement, profitability, forecasting and agents. Think of it as a smorgasbord rather than a migration: you choose what to own and what to offload.

This works best when you have a strong technical partner in-house

That sounds like a caveat and it is meant as one. We want someone on your side who will argue with us about data definitions, accuracy and edge cases, and who can change the underlying data when it needs changing. The customers who get the most out of Dema are not the ones who outsourced understanding their data. They are the ones who understand it well and wanted to move faster on top of it.

Frequently asked questions

Own your data foundation. Let us handle the layer that has to keep moving.