GS
← Home

Writing

Notes from the work.

Short posts and how-tos on data modelling, dashboards and retail analytics. More on LinkedIn and Medium.

  1. Nov 2, 2026

    Data modelling · LinkedIn

    I rebuilt 21 messy Excel sheets into one clean Power BI model.

    Course project: "Nightmare Data Model" by Baraa Khatib Salkini (Data with Baraa).

    The result: a star schema with 6 fact tables, 6 dimension tables and a security table. Checking total sales after every merge caught two problems: half the orders had discounts the total never took off, and 17 orders were counted twice.

    • Ask "what does one row mean?" before you merge anything.
    • Every column has to earn its place.
    • Know your keys: _key is created in Power BI, _id comes from the source.
    • Add security only where it's needed: each of 5 users sees only their region.
    Good visuals come from a good model, not the other way around.

    Read on LinkedIn ↗

  2. Oct 29, 2026

    Retail · LinkedIn

  3. Oct 28, 2026

    Promotion analytics · LinkedIn

    Did the promotion work, or would they have bought anyway?

    A promo week comes in and sales are up 80%. But “sales went up” and “the promotion worked” are two different claims. In the worked example, 800 units of gross lift, minus 300 pulled forward from future weeks, minus 200 moved from your own products, leaves 300 truly incremental units: +30%, not +80%.

    • Start with the baseline: what you would have sold without the promo.
    • Look at the weeks after for pantry loading.
    • Check what it took from your own products (cannibalization).
    • Then ask whether it paid for itself: the discount went to all 1,800 units, not just the 300 new ones.
    The job isn't to report that sales went up. It's to show how much of that would have happened anyway.

    Read on LinkedIn ↗Build a dashboard with me →

  4. Oct 26, 2026

    Digital shelf · LinkedIn

    The shelf moved. Most brand reporting didn't.

    Online, the shelf is a search results page on Walmart, Amazon, Instacart or Kroger, and it changes every day. Measuring it comes down to a handful of metrics, and it is a data problem as much as a marketing one.

    • Share of search, with organic and sponsored placements tracked separately.
    • Availability by retailer and location, not one national number.
    • Content quality, price and promotions, ratings and reviews.
    • The same product has to be matched across sites that name it differently.
    More people now just ask an AI assistant. There's no page 2 to scroll to.

    Read on LinkedIn ↗

  5. Oct 21, 2026

    dbt · LinkedIn

    “Why does your revenue number not match mine?”

    Usually both numbers come from the same data. The difference is that two people wrote the logic two different ways. This is where dbt helps most, beyond moving data around.

    • Define the logic once, in one model every dashboard reads from.
    • Test the business rules, not just the columns: net revenue is never negative.
    • Check that totals reconcile against the raw source.
    • Make every metric change go through a reviewed pull request.
    Data issues aren't always broken pipelines. Often it's two teams with two definitions.

    Read on LinkedIn ↗Fixing dbt itself: open-source PRs →

  6. Feb 13, 2026

    Marketing analytics · LinkedIn

    Connecting conversion, engagement and reviews in one view.

    Project write-up.

    Conversion peaked at 18.5% in January and dropped to 4.3% in May, engagement held a 15.37% click-through rate while views declined, and ratings averaged 3.7 against a 4.0 benchmark. I cleaned the journey data in SQL, classified reviews with sentiment analysis in Python, and built a Power BI dashboard to read them together.

    Instead of looking at metrics individually, the analysis connected performance data with customer feedback.

    Read on LinkedIn ↗Code on GitHub ↗

  7. Sep 20, 2025

    Data engineering · LinkedIn

  8. Jul 12, 2025

    Tutorial · Medium