All posts

How to create an automated business dashboard

A person looking at a wall-sized analytics dashboard with revenue, profit, targets and sales by country

In this post we’ll walk through how to create and, more importantly, automate a business reporting dashboard: how the dashboard is built, and how the data behind it is sourced and kept up to date.

You’ve seen the fancy dashboards big companies have. Lots of data, from sales to orders to geographies, broken down by product, with year-over-year comparisons. At first glance they look complex and expensive, and often they are. In reality it isn’t rocket science: with the right data system, even a small business can build and maintain a dashboard like that.

Let’s work backwards from the outcome (the dashboard) to what’s behind it (the business data system).


There are a few popular tools for building and maintaining dashboards; the best known are Power BI and Tableau. I prefer Power BI because Microsoft has integrated it with the rest of the Office ecosystem, which makes workflows possible that you can’t get otherwise. For example, you can open a dashboard’s data model directly in Excel as a PivotTable, which keeps finance, accounting, marketing and operations teams very happy.

1. The Power BI dashboard

The dashboard shows charts and summary values with the key information.

The example chart shows one of the dashboard’s views: how closely teams follow company procedures. It counts the opening and closing checklists submitted through Jotform at a retail location. A regional manager can watch this across locations, see how consistently each one follows operating standards, and how that consistency shows up in business performance.

Example Power BI chart: opening and closing checklists submitted per location

The chart looks simple, but wait until you see what’s behind it.


2. The data model

The dashboard displays numbers from the data model. It is the key component that connects all the data tables and lets you slice and dice across filters and dimensions.

Example Power BI data model: connected data tables

Your first reaction might be “What is this sorcery?” At least, that was mine when I first started.

Each block is a data table. Once they are connected, a filter on one table changes the results in another, and so on. Data models can get complex. The good news: with the right data system, you only build it once.


3. The data warehouse

The data model is made of individual tables, ideally pulled from a data warehouse: one central place where data from all your business tools is stored. The example shows a warehouse set up for a test company.

Example data warehouse catalog for a test company

Jotform alone accounts for 18 tables, each with many rows and columns. This company also pulls data from Facebook, Google Business Profile, Instagram, LinkedIn, Mailchimp, Stripe and Toast.

So how does the data get into the warehouse, and how does it stay up to date?


4. Automatic daily loads

Data loads into the warehouse automatically every day, in a few ways. Some arrives through third-party connectors, some through custom Python scripts that run on a schedule in the cloud.

Example Python script that loads Toast data into the warehouse on a schedule

This example is a custom Python script that runs every day at 4:00 AM, connects to Toast’s back end, pulls everything from the last few days and loads the new rows into the warehouse with SQL.

Naturally, the more data sources you add, the more computing power you need and the more complex the data model becomes.


That’s pretty much it

This is a basic setup and data flow, and it does the job well. Now say the business has several retail locations: you pull the data above for each location. That adds one more key step, ETL (Extract, Transform, Load). Here it combines the data from every location, so Power BI can show company-wide totals as well as per-location numbers.

The data system and its infrastructure are the foundation of good business intelligence. The example above covers one use of the system, reporting. The other important one is analysis, which we’ll cover in other posts; the same data system supports it.

In summary, here is the whole process:

Diagram of the whole process: data collection, data storage, reporting and data analysis

What’s next?

If you’d rather have this running for your business than build it yourself, ROI Chief does it end to end: we connect your systems, run the warehouse and the daily loads, build the reports and keep them fresh.

Tell us what you’re working with and we’ll tell you what we’d build.

Keep reading

All posts
Ready when you are

The work of a full data team, for about the cost of one hire.

Thirty minutes with the senior engineer who’d do the work, never a sales rep. Bring the spreadsheet you plan in.

Request a call