## TL;DR
Fix this in Coupa by acting on the exact problem first: in Coupa, add the unclassified bucket to the tail spend by category dashboard, because the category chart only sums classified spend while the total includes unclassified, so the two can never agree, refresh the dashboard, and confirm the category sum plus unclassified now equals total spend. Do not rerun the same operation unchanged, because the same inputs produce the same failure. Prove the fix on one dashboard or category view first, then rerun the full scope and reconcile the results.

```text
Coupa dashboard error tail spend by category does not match total spend
```

## Use this when
- The operation in Coupa fails with this exact problem: Coupa dashboard error tail spend by category does not match total spend.
- The same failure repeats on retry with unchanged inputs.
- Work described as a spend review meeting or a category reconciliation 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 dashboard or category view in Coupa 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 Coupa, add the unclassified bucket to the tail spend by category dashboard, because the category chart only sums classified spend while the total includes unclassified, so the two can never agree, refresh the dashboard, and confirm the category sum plus unclassified now equals total spend. 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 dashboards sharing the same filters, 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 Coupa 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 Coupa spend total, the category report and the dashboard 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

### Coupa dashboard error tail spend by category does not match total spend
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 - Coupa dashboard error tail spend by category does not match total spend
The how to phrasing for the same failure in Coupa. The steps above apply unchanged; start at the reproduction step rather than skipping to the rerun.

### Coupa 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
Category views only contain spend that received a category, and any unclassified remainder is invisible in the chart while still present in the headline total.

## 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 Coupa spend total, the category report and the dashboard filter definition; record which source won and why.

Compatibility: Coupa 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_Oi25oCO6J9dfxZdJloli6g
