Behind the dashboards
A pipeline that keeps dashboards current.
A dashboard is only as good as the data behind it. This is one pipeline we built: a daily job that collects data from seven places, loads it into one database, and prepares the numbers that six of the dashboards on the Work page read.
Described as delivered. Source names are generic and the company on the dashboards is fictional.
How the data fits together
Seven sources feed six dashboards through one database. Select a source or a dashboard to trace it.
Sources
One database
Reporting layer
51 prepared views
Dashboards
Each dot is one source, in the order listed. A filled dot means the dashboard reads from it.
One run, start to finish
The job runs every day without anyone starting it. Here is the order it works in, and what happens when one of the sources is having a bad day.
Run log
9 steps
- 1
Collect the sales reports
Pick up the reports the sales system emailed since the last run.
- 2
Load sales
Load each report into the database and file a dated copy.
- 3
Load web analytics
Read the last five days, so late corrections are included.
- 4
Load search ads
Campaign spend and results, by day and by market.
- 5
Load social ads
Campaign spend and results, by day and by region.
- 6
Load video ads
Campaign spend and results, by day and by audience.
- 7
Read the budget workbook
Take the current budget straight from the workbook finance edits.
- 8
Load customer activity
Check the last two weeks for gaps, then load what is needed.
- 9
Refresh the reporting layer
Rebuild the heaviest summary last, without taking the dashboards offline.
Once a week, a second job rebuilds customer segments and profiles in full.
Built to be left alone
One source failing does not stop the rest
Every source is its own step. If a platform is down, the failure is written to the log and the run carries on with the others.
A missed day fills itself in
Each run reads the last five days again, and customer data is checked two weeks back. One bad night is repaired by the next good one.
Running it twice never double counts
A load replaces the rows for its day instead of adding to them, so a rerun is always safe.
It waits when a platform says wait
Ad and email platforms limit how fast you can ask for data. The scripts slow down and try again instead of failing.
Long history loads keep their place
Loading years of history takes hours. If it is interrupted, it carries on from the last finished month.
One definition of every number
Dashboards never read raw data. They read a reporting layer where each business rule is written once, so two reports cannot disagree.
- sources collected
- 7
- prepared reporting views
- 51
- calculations across the reports
- 750+
- lines of Python and SQL
- 6,500+
Turn your data into a real competitive advantage.
Whether you own the IP or we host it for you, we meet you where your data lives and build clarity around it.