Systems and process

Trade failure reporting

Ten differently formatted reports, one Power BI report the trades team could show a client at any time.

Ten small grey report cards, each laid out differently, on a warm dark floor, with an arrow pointing to a clean report window: the Failures page of a weekly trade failure report, with failures by cause, failure rate by trade type and a table of which trade types each cause hits. All figures are invented.

At a glance

Role
Custody Operations Specialist, U.S. Bank Global Fund Services
Team
Built for the trades team, who defined the causes and the key figures
Tools
Excel, VBA, Power BI, Power Automate
Timeline
2025
Status
Handed over to the trades team

What it shows

  • Spotting a problem outside my own team
  • Normalising messy data from ten sources
  • A Power BI report built around the client’s questions
  • Automation end to end: from saved files to a refreshed report

Highlights

  • 10 → 1 report layouts, normalised into one table
  • ~2 h of copy and paste a week, replaced by one macro run
  • ~100 h of manual work a year it could replace

Discover

It started over a coffee. A colleague on the trades team told me one of their largest clients wanted a weekly report on its manual trade failures: how many failed, and why.

Someone on his team copied the details from 10 differently formatted reports into an email by hand. It took about two hours every week, and the figures were easy to get wrong.

  1. Open 10 reportsEach with a different layout
  2. Copy and pasteEvery failure, by hand
  3. Line them upMatch columns named differently
  4. Add up the totalsCounted by hand
  5. Write the emailA block of figures for the client

5 steps · 1 milestone

  • Step
  • Milestone
    1. Step 01

      A conversation over coffee

      A colleague described the weekly report.

    2. Step 02

      What the client needed

      The trades team set out the causes and key figures.

    3. Step 03

      The macro workbook

      Ten layouts, normalised into one table.

    4. Step 04

      The Power BI report

      Summary, failures and successes pages.

    5. Step 05

      Automatic refresh

      Power Automate refreshes it when the data changes.

    6. Milestone 06

      In the trades team’s hands

      Current figures for the client at any time.

Define

The report had to answer the client’s questions:

  • How many trades failed, as a share of all manual trades, and is that improving?
  • Why they failed, and how many trades each cause hit.
  • Which kinds of trade each failure was linked to.
  • What went right: the same view for trades that settled.

The trades team defined the causes and key figures, so the report used their language. The hard part was the input: ten reports describing the same things in ten ways.

Design

Every week

  • 10 source reportsSaved into a dated folder

Excel

  • Macro workbookReads every file in the folder
  • Helper tablesMap each layout and label to one standard

Shared cloud folder

  • One clean tableEvery failure and success, in the same shape

Power BI

  • Power AutomateRefreshes the report when the data changes
  • The reportSummary, Failures and Successes pages

Trades team

  • Client conversationsCurrent figures, on demand

How it flows

  1. The trades team saves the week’s 10 reports into a folder and runs the macro.
  2. The macro uses the helper tables to translate each layout and label into one standard.
  3. It writes one clean table to a shared cloud folder.
  4. Power Automate sees the change and refreshes the Power BI report.
  5. The trades team opens or shares the report whenever they need it.
The macro does the cleaning. Power Automate does the refresh.

Each report named its columns and causes differently. I kept those differences in helper tables built with the trades team, not hard-coded in the macro.

The report has three pages: a summary of key figures, failures by cause and trade type, and the same view for successes.

Manual trade failures · weekly client reportw/e 14 March · refreshed by Power Automate at 09:04
  • Manual trades1,240
  • Failure rate6.9%▼ 0.9 pts on last week
  • Failed trades86
  • Top causeSettlement instructions27 trades · 31.4% of failures

Failure rate, last 12 weeks

5%7.5%10%6.9%Wk 1This week

Key figures

Settled1,154
Settled on time95.1%
Failed86
Highest failure rateCorporate action, 8.3%
Causes logged6

Failures by cause

  • Settlement instructions27
  • Insufficient securities19
  • Unmatched at depository14
  • Cash shortfall11
  • Incorrect trade details9
  • Missed cut-off6

Failure rate by trade type

  • Equity DVP6.5%
  • Bond DVP7.7%
  • Free of payment6.3%
  • Repo7.3%
  • Corporate action8.3%

Bar length: 0–10%

Which trade types each cause hits

CauseEquity DVPBond DVPFree of paymentRepoCorporate actionTotal
Settlement instructions9772227
Insufficient securities9621119
Unmatched at depository6421114
Cash shortfall5312–11
Incorrect trade details322119
Missed cut-off2211–6
  • Settled1,154
  • Success rate93.1%
  • Settled on time1,09895.1% of settled
  • Settled late561.4 days late on average

Settled late, by trade type

  • Equity DVP22 late · 93.5% settled
  • Bond DVP15 late · 92.3% settled
  • Free of payment10 late · 93.8% settled
  • Repo6 late · 92.7% settled
  • Corporate action3 late · 91.7% settled
A mock-up rebuilt for this portfolio. Every figure is invented: the real report held client data. Use the tabs to switch pages.

Deliver

This wasn’t an official project. I built it alongside my own work, then handed it to the trades team. I moved on to other projects, so I didn’t track how they used it.

Next time I’d make it more formal: agree who owns the workbook, write a guide for when a source report changes, and check in after a month.

Outcome

The two-hour weekly copy and paste became one macro run, roughly 100 hours a year. Every week’s figures now come from the same logic. The trades team could show the client causes, not just counts, whenever asked.

A second, smaller Power BI build

My own team couldn’t see how many tickets each of us resolved. With my manager’s approval, I built a Power BI dashboard showing individual and team throughput.

What’s next?

I’ve since left U.S. Bank. If I were carrying the work on, I would:

  • Move the cleaning into Power Query, so the rules are easier to see and check.
  • Go to the source. Settlement-instruction failures, for example, could be cut by checking instructions before trades go out.
  • Track it over time, so the client sees whether each fix worked.