Revenue split across three channels.
Each channel has its own data and rules. Adding them up means treating each according to its own logic before bringing them together.
Case study · High-tech
A consumer high-tech manufacturer sells on its website, on marketplaces and through resellers. For its data team, we developed and maintained the chain that runs from the sources to the dashboards, the alerts and the summary sent to the executive team every morning.
THE CONTEXT
The manufacturer sells its products through three channels: its own website, marketplaces and a network of resellers. On its website, it knows every order. On a marketplace, it depends on the platform’s reports. With resellers, it receives files.
From 2021, we worked alongside its data team to develop and maintain the complete chain: ingestion of marketing, sales and inventory sources, transformations, dashboards, alerts. A long assignment, of the kind where you strengthen a data team already in place.
The heaviest subject was the revenue calculation: many sources, and transformations nested inside one another.
WHAT WAS IN THE WAY
Each channel has its own data and rules. Adding them up means treating each according to its own logic before bringing them together.
Each reseller sends its sales and inventory in its own file. They have to be filed, dates aligned and duplicates removed before counting. That is the subject of sell-out.
Each new item has to be attached to a product group, and a bundle counted as the products that make it up.
WHAT WE BUILT
In Redshift, staging tables clean each source. Final tables, the ones the dashboards read, carry the business rules.
Direct sales, marketplaces and resellers are each treated according to their own rules, then aggregated into a single model.
One alert warns when a new product reference appears and needs to be classified. Another compares resellers’ prices with the price grid. Every morning, a summary of the business goes out by e-mail; if its tests fail, it is not sent.
WHAT IT CHANGES
READ NEXT
WHAT COMES NEXT, WE BUILD TOGETHER
An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.
Let’s talk about your project