The challenge
Roll out the same dashboards across Europe, with numbers that match the database everywhere.
The context
A data migration
Three projects on Google Cloud Platform: Credit (real-time customer credit view and decision support for blocking or releasing orders), Claims & Returns and Sales HQ.
Up-to-date Power BI dashboards
Updating the data visualisation dashboards in Power BI, with their KPIs and pages.
A European rollout
Rolling out the dashboards to every European country: Iberia (Spain, Portugal), DACH (Switzerland, Germany, Austria) and Benelux (Belgium, Luxembourg).
From dashboard to database
The proof comes from querying both the source and the report, then comparing them.
The proof by Tosca
Tosca can scan a web page, and therefore a Power BI report, to read its numbers. I turned it into an automatic comparison tool.
- Tosca opens the Power BI report and scans the page to read the KPI values.
- In parallel, the SQL query retrieves the same data from Google Cloud Platform.
- The two results are compared automatically.
- Regression tests are scheduled daily and weekly, with a report sent by email.
The same number on screen as in the database, before key users ever see it.
Test examples
Four concrete situations: what I do and what I check.
Testing a field or a KPI
- What I do
- I build the right SQL query on the data table.
- What I check
- That the value of the field or KPI is the one expected.
Testing a chart or a KPI page
- What I do
- I compare the numbers shown in Power BI with those in the database.
- What I check
- That form and substance match: what you see is what the database holds.
Regression: source vs production
- What I do
- With Tosca, I compare source data with production data.
- What I check
- That no change has altered an existing number.
Power BI vs Google Cloud Platform
- What I do
- Tosca scans the report page and reads the KPI values.
- What I check
- That they match the results obtained on the GCP side.
The toolkit
Tools used on this project.