# Complex Comparison Operators

## Overview&#x20;

Now that you’ve learned some basic filter clause operators from this knowledge article: [Basic Comparison Operators](/home/paradigm-knowledge-base/generating-reports/workflows/introduction-to-report-builder/basic-comparison-operators.md), you can add more complex filters by using the operators mentioned in this article.&#x20;

The following operators are mostly used to compare two fields:

## **Field equal (=)**

Compares the contents of one field if the same or equal to another field.

**Example 1**

> “Country” Field Equals (=) “Billing Country” will return data which has the same country and billing country information

<figure><img src="/files/8AfxNt9cglPh2aQOOvjI" alt=""><figcaption></figcaption></figure>

**Sample Output**

<figure><img src="/files/Ya373rnssPsHpMG7ORsJ" alt=""><figcaption></figcaption></figure>

## **Field is not equal to (!=)**

Will return data or information with a field not equal to the other field.

**Example 1**

> “Country” Field Not Equals (=) “Billing Country” will return data which has a country not equal or the same as the billing country

<figure><img src="/files/jHawfVKXheHlAkfPsOG2" alt=""><figcaption></figcaption></figure>

**Sample Output**

<figure><img src="/files/zD244fa9HsOwqz32hwAw" alt=""><figcaption></figcaption></figure>

## **Field is greater than (>)**

&#x20;Will return data or information with a field greater than the other field.

**Example 1**

> “Withdrawal Date” Field Greater Than (>) “Dest Census Date will return data which has a withdrawal date greater than the Dest Census Date.

<figure><img src="/files/N2wvtfiT4O4LpbCXlLPO" alt=""><figcaption></figcaption></figure>

**Sample Output**

<figure><img src="/files/L31uKNOK3lmy8sWPm5B6" alt=""><figcaption></figcaption></figure>

## **Field Less Than (<)**

Will return data or information with a field less than the other field.

**Example 1**

> “Amount Paid” Field Less Than (<) “Amount Due” will return data which has an amount paid less than the amount due.

<figure><img src="/files/uUBKcwc4vRWiaxgYR8AW" alt=""><figcaption></figcaption></figure>

**Sample Output**

<figure><img src="/files/fek1xmErxXRp7fjgk1xE" alt=""><figcaption></figcaption></figure>

## **Field Greater Than Equal To (>=)**

Will return data or information with a field greater or equal to the other field. The difference between this and the Field Greater Than (>) operator is that this would include the field which is also equal to the other field.

**Example 1**

> “Withdrawal Date” Field Greater Than Equal To (>=) “Dest Census Date will return data which has a withdrawal date greater than or equal to the Dest Census Date.

<figure><img src="/files/sK7Ax3F323h6eZXwN8Kv" alt=""><figcaption></figcaption></figure>

**Sample Output**

<figure><img src="/files/MiH3OYUUIaV7kqPeYgMn" alt=""><figcaption></figcaption></figure>

## **Field Less Than Equal To (<=)**

Will return data or information with a field less than or equal to the other field. The difference between this and the Field Less Than (>) operator is that this would include the field which is also equal to the other field.

**Example 1**

> “Amount Paid” Field Less Than Equal To (<=) “Amount Due” will return data which has an amount paid less than or equal to the amount due.

<figure><img src="/files/FRkrIAv5pSYCLDlLpnza" alt=""><figcaption></figcaption></figure>

**Sample Output**

<figure><img src="/files/WJhvpDjKmCmumruZkwZu" alt=""><figcaption></figcaption></figure>

## Custom

Allows you to put an SQL query inside the **Value** column

**Example 1**

> “Amount Paid” custom query to check paid amount between $500 and $1000 (This will return students with **Amount Paid** in between 500 and 10000).

<figure><img src="/files/yKJZ0XtToX35TtEmDv3r" alt=""><figcaption></figcaption></figure>

**Sample Output**

<figure><img src="/files/gODywt2MyKc6tdPpu8lQ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.silverband.com.au/home/paradigm-knowledge-base/generating-reports/workflows/advanced-report-builder/complex-comparison-operators.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
