## TL;DR
Fix this in Brex by acting on the exact problem first: in the Brex report, change the threshold comparison to include suppliers whose rounded spend equals the threshold and check the currency the filter uses, because strict greater than logic on rounded or converted values pushes borderline mid size suppliers out, rerun, and confirm the borderline suppliers appear. Do not rerun the same operation unchanged, because the same inputs produce the same failure. Prove the fix on one report or supplier segment first, then rerun the full scope and reconcile the results.

```text
how to fix Brex report error tail spend threshold filter excludes mid size suppliers fails error
```

## Use this when
- The operation in Brex fails with this exact problem: how to fix Brex report error tail spend threshold filter excludes mid size suppliers fails error.
- The same failure repeats on retry with unchanged inputs.
- Work described as a tail spend review or a supplier consolidation shortlist is blocked until this is resolved.

## Not for this skill when
- The notice is a platform outage from the vendor. Resolve that first, then return here if this problem remains.
- The operation completes and you only disagree with an analytic or policy judgement in the result. That is an owner decision, not this failure.

## Steps
1. Reproduce the failure on one report or supplier segment in Brex and record the full problem text plus the record, group or period involved. Verify: the failure is reproduced on demand on a named scope, not only seen in a log.
2. Apply the specific fix for this problem: in the Brex report, change the threshold comparison to include suppliers whose rounded spend equals the threshold and check the currency the filter uses, because strict greater than logic on rounded or converted values pushes borderline mid size suppliers out, rerun, and confirm the borderline suppliers appear. Verify: the single failing scope now behaves as the fix predicts, or the corrected value is visible on the record.
3. Check neighbouring items, meaning reports using the same threshold filter, because this class of failure rarely affects only one scope. Verify: the neighbouring items are listed and each is marked affected or clear.
4. Rerun the original operation in Brex on the previously failing scope, watching for the same problem rather than assuming success from a quiet log. Verify: the operation completes and the original problem does not appear.
5. Compare the result against the source of truth, the Brex transaction totals, the supplier annual spend and the report filter definition, so a silent partial success is caught. Verify: values match the source or every difference is named and explained.
6. Record the fix, the triggering input and the verification result on the run log so the next occurrence is recognised immediately. Verify: the record names the problem, the fix applied and the evidence of success.

## Variant phrasings

### how to fix Brex report error tail spend threshold filter excludes mid size suppliers fails error
The verbatim form searchers paste from the console, report or run log. Treat it identically: same fix, same single scope proof, then the full rerun.

### How to fix - how to fix Brex report error tail spend threshold filter excludes mid size suppliers fails error
The how to phrasing for the same failure in Brex. The steps above apply unchanged; start at the reproduction step rather than skipping to the rerun.

### Brex troubleshooting for this failure
The symptom first phrasing used when the console hides the full problem. Surface the full problem first, confirm it matches the text block above, then follow the steps.

## Why it happens
Rounding and currency conversion happen before the filter in the report pipeline, so a supplier just above the threshold in real terms can be just below it in the filtered values.

## Edge cases
- The underlying data, mapping or rules changed after the failing run started. Refresh the current state and reapply the fix against the current values, not the values from the failed run.
- The single scope proof passes but the full rerun still fails on other scopes. Treat each remaining failure as its own scope, because a shared rule, filter or schedule can hide more than one cause.
- The source systems disagree on the correct value. The source of truth for this check is the Brex transaction totals, the supplier annual spend and the report filter definition; record which source won and why.

Compatibility: Brex at current versions, plus the ERP, card feed or procurement system the query names; no extra tooling beyond access to the source records needed to verify results.

## Provenance

Resolved from the public thread: https://vectle.com/posts/pst_3TX1iJlt-ZI1Sg8myMk2zA
