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

# Query Builder

The query builder opens to the full report interface under the breadcrumb **Orders › Conversions**.

### Date Range

The date range selector at the top of the screen controls which period your data covers. Use the left and right arrows to scroll across weeks. The currently selected window appears in the top bar.

![Date Range](https://mintcdn.com/neuroncx/vWDFi1kIl24WPXyL/images/date_range.png?fit=max\&auto=format\&n=vWDFi1kIl24WPXyL\&q=85\&s=432ba7456b96820a9dffa847294ad4a4)

***

### Time Granularity

Select how data is bucketed along the time axis:

| Option | Description |
| - | - |
| **Monthly** | Aggregates data by calendar month |
| **Weekly** | Aggregates data by ISO week *(default)* |
| **Daily** | Breaks data down day-by-day |
| **None** | Returns the full period as a single value |

![Monthly Weekly Daily](https://mintcdn.com/neuroncx/vWDFi1kIl24WPXyL/images/monthly_weekly_daily.png?fit=max\&auto=format\&n=vWDFi1kIl24WPXyL\&q=85\&s=e4412ee2fdb2d2b457c9789e5544ea49)

***

### Canonical Filter

The **Canonical** selector determines which event type is the unit of measurement:

| Value | Description |
| - | - |
| **Transaction** | Counts all transaction events *(default)* |
| **Conversion** | Counts conversion events only |
| **Acquisition** | Counts acquisition events only |

![Canonical](https://mintcdn.com/neuroncx/vWDFi1kIl24WPXyL/images/canonical.png?fit=max\&auto=format\&n=vWDFi1kIl24WPXyL\&q=85\&s=beed12516a87c17f6d0b866fe3ceaf83)

***

### Grouping

The **Grouping** dimension sets how results are broken down in the chart and table:

| Value | Description |
| - | - |
| **None** | No breakdown — a single aggregate line |
| **Agent** | Group by individual agent *(default)* |
| **Shop** | Group by shop or outlet |
| **LOB\_GP** | Group by line of business |
| **Location\_GP** | Group by geographic location |

![Grouping](https://mintcdn.com/neuroncx/vWDFi1kIl24WPXyL/images/grouping.png?fit=max\&auto=format\&n=vWDFi1kIl24WPXyL\&q=85\&s=a22ef69bb254eac9bb9f263d52912eec)

***

### Saved Filters

Pre-configured filter combinations are available as quick-access tabs above the rules section. Example saved filters visible on this view:

* Acquisition by Group
* Acquisition by Branch
* Conversions — Base
* Acquisition By Agent — Group

Click any saved filter to apply it instantly. Use **Manage filters** (top right) to edit or delete saved filter sets.

![Saved Filters](https://mintcdn.com/neuroncx/vWDFi1kIl24WPXyL/images/saved_filters.png?fit=max\&auto=format\&n=vWDFi1kIl24WPXyL\&q=85\&s=7be79c1dc887df4a53d1d8a7772c69f2)

***

### Rules and Filters

Use the **Rules and Filters** section to narrow the dataset with attribute-level conditions before fetching.

#### Adding a Rule

1. Click **+ Add Rule**.
2. Select the **attribute** to filter on. Available attributes include:
   * Agent
   * LOB
   * Branch
   * Transaction Phase
   * Transaction Stage
   * Order Status
   * Grouping
   * Source
   * Archival Status
   * Transaction Attributes
   * UserRecency
   * Payment Status
   * Amount
   * Allocation Type
3. Select the **operator** for that attribute:
   | Operator | Behaviour |
   | - | - |
   | **Equals** | Matches a single exact value |
   | **In List** | Matches any value from a selected set |
   | **Any** | No constraint — matches all values |
4. Select or search for the **value** from the dropdown. For Agent, this populates a searchable list of all agents on the platform.

#### Combining Rules

Use the **AND / OR** logic toggle to control how multiple rules interact:

* **AND** — all rules must be satisfied simultaneously
* **OR** — any one rule being satisfied is sufficient

Click the **reset icon** next to Add Rule to clear all active rules at once.

![Rules And Filters](https://mintcdn.com/neuroncx/vWDFi1kIl24WPXyL/images/rules_and_filters.png?fit=max\&auto=format\&n=vWDFi1kIl24WPXyL\&q=85\&s=9df6eb2bba1d18aeb44736fc04780eda)

***


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