---
title: "Rate cards – dependent calculations: what, why & how."
description: "Rate card calculations can now be conditional on the results of other calculations or charges on the same price list. This removes the need for duplicate rate tables and manual exclusion workarounds."
url: https://help.qargo.com/us/articles/669588-rate-cards-dependent-calculations-what-why-how
locale: us
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 the calculations on a charge from 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. There was no way to suppress one charge based on the result of another. This forced workarounds such as duplicating rate tables across multiple surcharges or maintaining complex manual exclusion conditions.

**How**\
Enable **Pick first matching calculation** directly on a charge to set up fallback rating 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 rate table calculation and a fallback calculation that only applies when the primary returns zero. This removes the need for duplicate rate tables per surcharge.
-   Companies with fixed rate overrides can suppress surcharges (ADR, fuel, toll, waste) when a fixed rate charge has already applied. This replaces 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, instead of duplicating rate 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 the following ones are skipped |
| _Circular dependency_ | A configuration error where two charges reference each other as conditions, creating a loop that cannot be resolved |
| _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 from top to bottom, and the first one returning a non-zero result is applied. The following 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 set 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 the condition references and remove the circular link between the two charges |
| Waterfall not applying the expected calculation | Calculations are not in the intended order | Reorder the 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 | Conditions across price lists are not supported. Both charges must be on the same price list |
| Condition references the wrong charge after copying a price list | Condition references were not remapped during the copy | Check that the condition on the copied price list references the intended charge |


## Related articles

- [Rate card FAQ: rating by location](https://help.qargo.com/us/articles/320191-rate-card-faq-rating-by-location.md)
- [Rates - Rate card customers](https://help.qargo.com/us/articles/133865-rates-rate-card-customers.md)
- [Rate card – girth-based rating: what, why and how](https://help.qargo.com/us/articles/628325-rate-card-girth-based-rating-what-why-and-how.md)
- [Rate cards: 'Any stop' conditions and metrics (what, why and how)](https://help.qargo.com/us/articles/669052-rate-cards-any-stop-conditions-and-metrics-what-why-and-how.md)
- [Rate card: multimodal rating condition configurations](https://help.qargo.com/us/articles/669575-rate-card-multimodal-rating-condition-configurations.md)
