---
title: "RATE CARDS — Dependent Calculations — What, Why & How."
description: "Rate card calculations can now be made conditional on the results of other calculations or charges on the same price list, eliminating the need for duplicate price tables and manual exclusion workarounds."
url: https://help.qargo.com/en/articles/669588-rate-cards-dependent-calculations-what-why-how
locale: en
updated: 2026-05-13
---

# RATE CARDS — Dependent Calculations — What, Why & How.

## Summary {#h_ccc9f07a9b}

**What**\
Two new mechanisms for creating dependencies between rate card calculations:

-   **Pick first matching calculation** - evaluates calculations on a charge top-to-bottom and applies the first one that produces a non-zero result.
-   **Other charge dependency** - a condition metric on a calculation that makes it conditional on whether a specific other charge on the same price list meets a defined threshold.

**Why**\
Rate card calculations previously ran independently, with no way to suppress one charge based on the result of another. This forced workarounds such as duplicating price tables across multiple surcharges or maintaining complex manual exclusion conditions.

**How**\
Enable _Pick first matching calculation_ directly on a charge to set up fallback pricing logic. Add _Other charge dependency_ as a condition on an individual calculation, then select the reference charge and set the comparison operator and threshold.

## Use Cases {#h_e13203a4b7}

-   Transport companies with route-specific fixed rates can set up a primary price table calculation and a fallback calculation that only applies when the primary returns zero - eliminating the need for duplicate price tables per surcharge.
-   Companies with fixed rate overrides can suppress surcharges (ADR, fuel, toll, waste) when a fixed rate charge has already applied, replacing complex manual exclusion conditions.
-   Operations that need surcharges to apply only when a transport charge was successfully auto-rated can configure this directly as a condition, rather than duplicating price tables across each surcharge.

* * *

## Terminology {#h_7fc09b01be}

| **Term** | **Definition** |
| --- | --- |
| _Pick first matching calculation_ | An option on a charge that evaluates calculations in order and applies the first one producing a non-zero result |
| _Other charge dependency_ | A condition metric that makes a calculation conditional on the result of another charge on the same price list |
| _Waterfall evaluation_ | Sequential top-to-bottom evaluation where the first successful calculation is used and subsequent ones are skipped |
| _Circular dependency_ | A configuration error where two charges reference each other as conditions, creating an unresolvable loop |
| _Price list_ | A rate card configuration containing one or more charges, each with one or more calculations |

* * *

## Configuring a 'Pick First Matching' (waterfall) calculation {#h_51da46ae3e}

-   **NAVIGATE** to **RATES** > **_Rate card customers_** and open the relevant price list.
-   **OPEN** the price list to update.
-   **SELECT** the charge to configure.
-   **ENABLE** the _Pick first non-zero calculation amount_ toggle.
-   **ARRANGE** the calculations in the desired evaluation order — calculations are evaluated top-to-bottom, and the first one returning a non-zero result is applied. Subsequent calculations are skipped.
-   **SAVE** the price list to apply the changes.

![](https://help.qargo.com/media/b0baf6c89a59-image.png)

:::callout{tone="info"}
📚 All calculations must be fully configured before enabling this option. Each calculation is evaluated in sequence until a non-zero result is found; if none match, the charge returns zero.
:::

* * *

## Configuring an Other Charge Dependency Condition {#h_e0f638295d}

-   **NAVIGATE** to **RATES > _Rate card customers_** and open the relevant price list.
-   **SELECT** the price list containing the charge to make conditional.
-   **OPEN** the charge line calculation and navigate to the _Conditions_ section.
-   **ADD** a new condition and select **_Other charge dependency_** as the condition metric.
-   **SELECT** the reference charge — the charge whose result will be evaluated. The reference charge must be on the same price list.
-   **SET** the operator (=, ≠, >, \<, ≥, ≤) and the threshold value (e.g., 0).
-   **SAVE** the price list to apply the condition.

![](https://help.qargo.com/media/2f9e6537619f-image.png)

**Example:** To suppress a surcharge when a fixed rate applies, select the fixed rate charge as the reference charge, set the operator to ≠, and the value to 0. The surcharge calculation will only apply when the fixed rate charge returned no result.

* * *

## Troubleshooting {#h_1fabd0c195}

| **Issue** | **Possible cause** | **Solution** |
| --- | --- | --- |
| Circular dependency error on save | Two charges reference each other as conditions | Review condition references and remove the circular link between the two charges |
| Waterfall not applying the expected calculation | Calculations are not in the intended order | Re-order calculations on the charge so the primary calculation appears first |
| Other charge dependency not filtering correctly | The reference charge is on a different price list | Cross-price-list conditions are not supported — both charges must be on the same price list |
| Condition references incorrect charge after price list copy | Condition references were not remapped on copy | Check that the condition on the copied price list references the intended charge |


## Related articles

- [RATE CARD FAQ - Price by Location](https://help.qargo.com/en/articles/320191-rate-card-faq-price-by-location.md)
- [RATES - Rate card customers](https://help.qargo.com/en/articles/133865-rates-rate-card-customers.md)
- [RATE CARD - Girth-Based Pricing - What, Why & How.](https://help.qargo.com/en/articles/628325-rate-card-girth-based-pricing-what-why-how.md)
- [RATE CARDS — 'Any Stop' Conditions and Metrics — What, Why & How.](https://help.qargo.com/en/articles/669052-rate-cards-any-stop-conditions-and-metrics-what-why-how.md)
- [RATE CARD - Multimodal pricing condition configurations](https://help.qargo.com/en/articles/669575-rate-card-multimodal-pricing-condition-configurations.md)
