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.

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 export definitions

SQL export definitions

Built in the order management system, they send Fabric only the data it needs.

Data Factory copy activities

Data Factory copy activities

Hourly incremental loads for sales, invoicing and orders, and a full load for the rest.

Secure semantic model

Secure semantic model

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

Management and performance dashboards

Management and performance dashboards

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

How we achieved it

Content image
  • SQL export definitions are built in the order management system, so Fabric takes only the data it needs.
  • Data Factory copy activities load sales, invoicing and orders incrementally every hour, and the remaining tables in a full load.
  • A lakehouse holds the data, and a Power BI semantic model sits on top of it.
  • Row-level security gives three levels of access, by company, team and rep, from a single model.
  • Management and performance dashboards read from that one model.

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.

Three levels of access

Three levels of access

Row-level security shows each person the company, team or rep figures they should see.

Dashboards for every reader

Dashboards for every reader

Management and reps each get the view they need 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.

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