PTR logo

Case Study

From a daily sales report to a Fabric data platform

A distribution business started with one Power BI sales report. PTR planned, built and still supports the Microsoft Fabric data platform it grew into.

From a daily sales report to a Fabric data platform
Motion graphic.
  • For data privacy reasons, we have anonymised the content of this case study, but our client is available as a reference on request.

The challenge: daily sales figures in a business that never stands still

The client is a distribution business with sales, orders, invoicing and logistics all held in one order management system. Management wanted dashboards of sales by day, week, month to date and year to date, split by sales rep and across the channels the business sells through. As the work grew, they also wanted each team and rep to see their own figures securely, refreshed more often, without slowing the order system down. They asked PTR to plan, build and lead the work, then support it.

Key issues

  • Sales by day, week, month and year to date
    in one view for management
  • Comparison across channels
    sales reps and the other channels the business uses
  • Each rep sees their own performance
    securely, and no one else's
  • Fresher figures through the day
    without straining the order system

The approach: one report first, a full platform when the business was ready

PTR started by proving the concept with a daily report on Power BI Pro, using Gen1 dataflows and an on-premises gateway. Security came next, set at three levels with row-level security driven by each user's email, and the platform stayed within Power BI Pro's limit of eight refreshes a day. Before long, due to the success of this initial implementation, our client sought even fresher figures looking for at least an hourly refresh cycle throughout the day. We were already at the limit of scheduled refreshes for a Power BI Pro licensed solution and were likely to see performance issues if we tried to expand using only Gen 1 Dataflows. It was due to this that the decision was made to move to Microsoft Fabric, this unlocked more frequent regular refreshes and a whole suite of tools enabling improved performance, increased solution reliability and far more long-term scalability.
PTR built the Fabric platform around a lakehouse and a data warehouse, with Data Factory running the hourly refresh. When the order system subsequently moved to the cloud, PTR retired the gateway and took only the data that was needed, through SQL export definitions that act as custom API endpoints, pre-aggregated and loaded incrementally. PTR planned, built and led each phase at the client's pace, and still supports the platform today.

The solution: a Fabric platform that PTR designed, built and runs

Behind every report sits a single Microsoft Fabric platform that PTR designed, built and supports.
SQL exports and Data Factory loads

SQL exports and Data Factory loads

SQL exports send Fabric only the data it needs, loaded hourly or daily.

Secure semantic model

Secure semantic model

Row-level security at three levels, by company, team and rep.

Reports and workspace apps

Reports and workspace apps

Sales by day, week, month and year to date, in apps for management and each rep.

How we achieved it

Content image
  1. SQL export definitions are built in the order management system, so Fabric takes only the data it needs.
  2. Spreadsheets held in SharePoint reach the lakehouse through a shortcut, with no copy needed.
  3. Fabric Data Factory orchestrates the platform on two timers: an hourly incremental load of sales, invoicing and orders, and a daily full load of the remaining tables.
  4. The lakehouse holds the raw data.
  5. The data warehouse holds the transformed data.
  6. A Power BI semantic model sits on top, with row-level security giving three levels of access (company, team and rep) from a single model.
  7. Management and performance reports read from that one model, and workspace apps list them for each audience.

The outcomes: fresher figures, the right people seeing the right data

Hourly sales figures

Hourly sales figures

Fabric Data Factory refreshes the sales figures every hour.

Only the data needed

Only the data needed

Pre-aggregated, incremental SQL exports protect the order system's performance.

Each reader sees the right data

Each reader sees the right data

Row-level security shows company, team or user figures, from one model.

Why PTR?

A platform that starts as one report and grows into Microsoft Fabric needs more than a single hire can cover: someone to plan it, build it, and keep it running as the business and the tools change. PTR has over 35 years in data consultancy and training, and led this work from the first report to today.
A view from our developers: the solution grew at the client's pace, with PTR only developing and suggesting features that fit their specific requirements. This solution evolved as their needs grew and today it lives as an excellent example of how Microsoft Fabric can benefit dynamic, active businesses.

How close to live is your reporting?

If your reporting has outgrown its first version, talk to our team on 0118 979 4000.

Share This Page

Key Objectives

  • Bring order data into Power BI
  • A daily view of sales for management
  • Secure performance by company and team and rep
  • Refresh more often through the day
  • Protect the order system's performance

Data Sources

  • Order management system
  • SQL exports
  • Excel Spreadsheets
  • SharePoint

Technologies

  • Microsoft Fabric
  • Lakehouse
  • Data Warehouse
  • Row-Level Security
  • Data Factory
  • Microsoft Power BI
  • Semantic Models (DAX)

Frequently Asked Questions

Couldn’t find the answer you were looking for? Feel free to reach out to us! Our team of experts is here to help.

Contact Us