> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Margin leaks

> How Margin leaks finds money lost on sold lines, what each kind of finding means, and how to assign, postpone, dismiss or fix a finding.

**Margin leaks** analyses the last 12 months of sold lines, quotes, contracts and rebates, and lists each place where margin is slipping as a finding with the money at stake per month. Use it to decide which leaks to fix first, to assign them to an owner, and to apply a fix that keeps the leak from coming back. This page covers how the report runs, the kinds of findings, how to work a finding, the detection settings and the shareable leak report.

## Who can use it

| Task | What your role needs |
| - | - |
| Open the page and read findings | **View** on **Insights & reports**, with both **Cost and margin** and **Financial figures** visible |
| Change a finding's status or owner | **View** on **Insights & reports** |
| **Block it with a floor** | **Edit** on **Pricing policy** |
| **Keep it fixed with a strategy** | **Edit** on **Strategies & simulator** |
| **Let Elastly correct it** | **Edit** on **Control center** |
| Change **Detection settings** | **Edit** on **Members** |

With the preset roles, **Sales rep** and **Viewer** do not see **Margin leaks** in the navigation, because both hide cost and margin. See [Roles](/docs/administration/roles.md).

## How the report runs

Each run looks at the trailing 12 months up to the day it runs, in the workspace currency. The report runs again every night, and on request after you change the detection settings. The run number, its date and its window appear at the top right of the page, for example `Run 14 · Nov 9 · trailing 12 months`.

When a later run no longer finds a leak, the finding moves to **Resolved** by itself. When a run finds it again, it reopens.

## Kinds of findings

| Kind | What it means |
| - | - |
| **Below floor** | Sold under the floor in force at the time of sale |
| **Negative margin** | Sold below its historical cost |
| **Price spread** | The same product sold at very different markups across customers |
| **Below peers** | A customer pays less than similar customers |
| **Margin drift** | Margin sliding month after month |
| **Contract exposure** | An active negotiated contract has lines priced below the floor at today's cost |
| **Rebate at risk** | A rebate tier the current run rate no longer reaches |
| **Cost not passed through** | A cost rise the customer's price did not follow |
| **Discount creep** | A customer's discount growing faster than the market |

## The findings table

| Column | Definition |
| - | - |
| **Subject** | The customer, product, category, segment, contract or rebate agreement the finding is about |
| **Kind** | The kind of leak, from the table above |
| **Finding** | One line describing the leak |
| **At stake / mo** | Money impact of the finding over the last 12 months, measured by its kind's rule, per month |
| **Lines** | Sold lines behind the finding |
| **Status** | **Open**, **In review**, **Resolved**, **Dismissed** or **Postponed** |
| **Owner** | The member the finding is assigned to |
| **First seen** | The date and run the finding first appeared |
| **Prices served / mo** | Hidden by default. Average number of prices served per month for this scope over the last 12 months. |

Use the tabs above the table to switch between **Open and in review**, **Closed** and **All**. Turn on **Assigned to me** to see only findings you own. You can also search customers, products or contracts, or type a question in the search box and let the assistant turn it into a filter. See [AI in tables](/docs/assistant/ai-in-tables.md).

## Work a finding

Select a row to open the finding. The sheet has an **Overview** tab with the evidence and the fix options, **Products** and **Lines** tabs when the finding has them, and an **Activity** tab with every status change, assignment and fix.

### Change the status

**1. Open the status menu**

Select **Change status** at the bottom of the finding.

**2. Pick the new status**

Choose **Mark in review** or **Back to open**, **Postpone…**, or **Dismiss…**. A closed finding offers **Reopen**.

**3. Confirm a postpone or dismissal**

For **Postpone this finding**, choose **1 week**, **2 weeks** or **1 month**, or set a date under **Reopen on**, then select **Postpone**. For **Dismiss this finding**, choose a **Reason** (**Not a leak**, **Agreed price**, **Strategic price** or **Other**, which needs a note) and select **Dismiss**.

| Status | Meaning | How it changes |
| - | - | - |
| **Open** | Found by the latest run and not yet handled | Set by a run, or by **Back to open** or **Reopen** |
| **In review** | Someone is looking at it | Set by **Mark in review** |
| **Resolved** | The latest run no longer finds it | Set by the run |
| **Dismissed** | Closed by a member with a reason | Reopens by itself if the money at stake passes twice the amount it had when dismissed |
| **Postponed** | Out of the open list until a date | Reopens by itself on that date |

### Fix a finding

The **Overview** tab offers the fixes that fit the kind of finding. A fix your role cannot apply is shown disabled with the reason.

| Fix | What it does | Offered for |
| - | - | - |
| **Block it with a floor** | Adds a floor for the category to the pricing policy draft, so no quote or price goes under it again | Below floor, Negative margin |
| **Keep it fixed with a strategy** | Creates a draft strategy: a markup band, a pass-through of cost rises, an alignment of the customer with its segment, or a margin target | Price spread, Cost not passed through, Below peers, Discount creep, Margin drift |
| **Let Elastly correct it** | Re-prices the affected lines on the next run, inside your guardrails and change budget | Below floor, Negative margin, Price spread, Cost not passed through |
| **Work it out with the assistant** | Opens the assistant on the finding to talk it through, ask what-ifs or draft the change | Every kind |
| **Fix it by hand** | Opens the page where the prices are changed | Every kind |

> [!WARNING]
>
> A floor goes into the pricing policy draft and a strategy is created as a draft. Neither changes a live price until a member publishes it.

An automatic correction covers at most 1,000 customers per finding; the finding states how many were left out. If the next run could not apply the correction, the finding says why and the correction is retried on the following run. Select **Undo** on an applied fix to remove the floor or the draft strategy, or to cancel an automatic correction that has not started.

## Detection settings

Select **Detection settings** above the table to open **Leak detection**. Every threshold has a help tip with an example.

| Setting | Default | What it controls |
| - | - | - |
| **Products to check** | 40 products | How many top sellers, ranked by trailing 12-month revenue, the report checks first |
| **Price spread over** | 20 pts | The gap between the lowest and highest markup for one product that counts as a spread |
| **Compare with** | **Same segment** | Who a customer's price is judged against: **Same segment** or **All customers** |
| **Below peers by** | 10% | How far under the peer median a customer can pay before it is flagged |
| **Margin drop over** | 2.0 pts | The drop in blended margin across the drift window that counts as drift |
| **Drift window** | 6 months | How many recent months the drift check looks at: 3, 6, 9 or 12 months |
| **Declining months** | 5 months | How many months in the window must decline, so one bad month is never flagged |
| **Cost rise that triggers a check** | 2% | The landed-cost increase that starts a pass-through check on a product |
| **Share of a cost rise passed on** | 80% | The share of a cost rise that should reach the selling price; less is flagged |
| **Discount creep threshold** | 5 pts | How many points a customer's average discount can grow beyond the market before it is flagged |
| **Smallest leak to flag** | 250 in the workspace currency | Leaks worth less than this per month are left out of the report |

**1. Change the thresholds**

Adjust the settings. The footer counts your unsaved changes.

**2. Save**

Select **Save changes**. The next report runs with the saved settings.

**3. Refresh the report**

After saving, the footer offers **Refresh report**. Select it to run the report now with the new settings instead of waiting for the nightly run.

Select **Reset to defaults** to restore every default before saving.

## Share the leak report

Select **Leak report** above the table to open **Where your margin is leaking**, a summary of the latest run with a figure strip and one card per kind of finding.

| Figure | Definition |
| - | - |
| **Sold lines** | Sold lines in the 12-month window |
| **Quotes** | Quotes with a line in the window |
| **With cost** | Share of sold lines with a cost. A line without a cost cannot show a leak. |
| **Lost per month** | Leak impact across all kinds, each line counted once, per month |

Use **Share** to **Copy link**, **Download PDF** or **Print**. When the report was produced with settings that have since changed, its description says "used earlier detection settings".

## When the page has no findings or fails

| What you see | Meaning | What to do |
| - | - | - |
| **Leak report pending** | Orders and costs have not been analysed yet | Wait for the first run after your first sync |
| **No margin leaks found** | The latest run found no leaks | Nothing to do. Lowering **Smallest leak to flag** shows smaller leaks. |
| **Workspace setup required** | The workspace currency is not set | Set the workspace currency, then wait for the next run |
| "The leak report could not be generated. Try again or contact support." | The last run failed | Select **Retry** to queue a new run, or contact support with the reference shown |
| "Your data access does not include all customers and products required for this report. Ask an admin to update your access." | Your role cannot read this report | Ask an admin to change your role |
| "The PDF could not be downloaded. Try again or contact support." | The PDF download failed | Try again, or use **Print** and save as PDF from the print view |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.