> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/reports-queries/agent-wise-reports/branch-+-agent-+-date-wise-target-vs-achievement-analysis.md).

# Branch + Agent + Date Wise Target Vs Achievement Analysis

**Available on:** Desktop · Web

Navigate to **Reports/Queries\Agent Wise Reports** and click on "Branch + Agent + Date Wise Target Vs Achievement Analysis".

The **Branch + Agent + Date Wise Target Vs Achievement Analysis** shows what each **agent / salesman** has sold, branch by branch, and compares it with the **targets** set for them. It can also be used without targets as a **salesman-wise sale report**, with the salesmen listed under their **agent group** and a total for every branch, every agent group and the whole report.

## Run the report

1. Choose a configuration (see [**Branch + Agent + Date Wise Target Vs Achievement Analysis - Configuration**](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/reports-queries/agent-wise-reports/branch-+-agent-+-date-wise-target-vs-achievement-analysis/branch-+-agent-+-date-wise-target-vs-achievement-analysis-configuration.md)).
2. Enter the **From** and **To** dates. Sale bills dated in this range are included, and targets dated in this range are compared with them.
3. Select **Branch**, **Agent**, **Company** or **Extra Item Groups** if needed. You can choose more than one of each. Leave them empty to include all.
4. Run the report.

Good to know about the selections:

* **Agent** checks the agent the sale is credited to — the agent of the bill, or the agent of each item line when **Agent Filter** in the configuration is **Item Wise**.
* With **Show Data For Current Branch Only** ticked in the configuration, only the branch you are logged in to is shown, and the **Branch** selection is ignored.
* When **Achievement As** is **Sale Collection** (see the configuration page), only the **Branch** and **Agent** selections are used.

## What one row stands for

Each row is one combination of the items ticked under **Report Consolidation** in the configuration — for example one agent in one branch. Untick an item and its column is left blank and its figures are added together.

* The rows come from the **sales**. An agent or date with a target but no sales in the period does not get a row, and that target is not counted in the totals. With **Target Date** ticked and **Date Wise**, a target counts only on a date that has sales.
* With **Sale Report On** set to **Sale + Sale Return (Net)**, sale returns are subtracted.
* With **Agent Group** ticked, **Agent Group Level** set to **Level-1** to **Level-4** and **Achievement As** set to **Sale**, each row is one **agent group** instead of one agent: the sales of all agents in the group are added together, the **AGENT NAME** column is blank, the group's own target is used, and no **Agent Name** totals are printed.

## The main columns

| Column                                                                              | What it shows                                                                                                                                                                                                       |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **BRANCH GROUP**, **BRANCH NAME**, **AGENT NAME**, **COMPANY NAME**, **GROUP NAME** | Filled when the matching item is ticked under **Report Consolidation**. **GROUP NAME** is the item group at the **Item Group H - Level** chosen in the configuration.                                               |
| **TARGET DATE**                                                                     | The bill date, or the month name when **Target Date As** is **Month Wise**. Filled when **Target Date** is ticked.                                                                                                  |
| **GROSS AMOUNT**, **NET AMOUNT**                                                    | The gross and net amount of the items sold.                                                                                                                                                                         |
| **AMOUNT(USER DEFINED)**                                                            | The amount made up as set in **UD Net Amount-1** in the configuration.                                                                                                                                              |
| **TOTAL QUANITY**                                                                   | The quantity sold. Free, replacement and sample quantity is added when **Include Free/Repl/Sample In Total Quantity** is ticked.                                                                                    |
| **TARGET QTY**, **TARGET VALUE**                                                    | The targets that match the row — its branch, agent, company, item group, date and agent group, as far as they are ticked under **Report Consolidation**.                                                            |
| **TOTAL BILLS**                                                                     | The number of different bills behind the row. A bill with several items is counted once. With **Sale + Sale Return (Net)**, sale-return bills are counted too. Shown only when **Achievement As** is **Sale**.      |
| **ABV**                                                                             | Achievement amount ÷ **TOTAL BILLS** (average bill value). **ABV** and **BASKET** need the **TOTAL BILLS** column switched on.                                                                                      |
| **APV**                                                                             | Achievement amount ÷ **TOTAL QUANITY** (average piece value).                                                                                                                                                       |
| **BASKET**                                                                          | **TOTAL QUANITY** ÷ **TOTAL BILLS** (pieces per bill).                                                                                                                                                              |
| **ACH QTY(%)**                                                                      | **TOTAL QUANITY** ÷ **TARGET QTY** × 100.                                                                                                                                                                           |
| **ACH VALUE(%)**                                                                    | Achievement amount ÷ **TARGET VALUE** × 100.                                                                                                                                                                        |
| **DEFICIT VALUE**, **DEFICIT QTY**                                                  | Achievement amount − **TARGET VALUE**, and **TOTAL QUANITY** − **TARGET QTY**. A minus figure means the agent is short of the target. With no target, the deficit is the whole achievement, shown as a plus figure. |

The **achievement amount** is the **GROSS AMOUNT**, the **NET AMOUNT** or the **AMOUNT(USER DEFINED)**, as chosen in **Achivement Amount As** in the configuration. A zero is shown as a blank cell.

These columns are switched off until you select them in the report's columns:

* **AGENT GROUP-1** to **AGENT GROUP-4** — the agent's group, that group's own group, and so on. Filled when **Agent Group** is ticked under **Report Consolidation**; with **Agent Group Level** set to **Level-2** or higher, only the chosen level and the levels above it are filled.
* **INCENTIVE AMOUNT** and **CONDITION FULLFILLED** — the incentive worked out from the **Achievement / Incentive Slabs** on **ACH VALUE(%)**, and **Y** when it is more than zero, otherwise **N**.
* **LAST MONTH TARGET**, **LAST MONTH JV AMOUNT**, **LAST MONTH ACHIEVEMENT(%)** and **CURRENT MONTH ACHIEVEMENT(%)** — used only when **Achievement As** is **Sale Collection**, **Target Date** is ticked and **Target Date As** is **Month Wise** (see the configuration page).

The columns **PERVIOUS YEAR MONTH SALE**, **COMMISSION(%)**, **COMMISSION**, **DEDUCTION(%)** and **MINIMUM TARGET(%)** are not used by this report and stay empty.

## Totals

The totals printed are chosen under **Report Totals** in the configuration: **Branch Group**, **Branch Name**, **Agent Name**, **Company Name**, **Group Name**, **Target Date**, **Agent Group** and **Grand Total**. Each one, except **Grand Total**, also needs the same item ticked under **Report Consolidation**. With **Agent Group Level** set to **None**, the **Agent Group** total is printed for each group only when **Agent Wise Rows Under Agent Group** is ticked.

* The name of the totals row — for example **Branch Wise Totals** or **Agent Group Wise Totals** — appears in the **BRANCH GROUP** column, so keep that column switched on. A **Branch Wise Totals** row also shows the branch in **BRANCH NAME**, and an **Agent Group Wise Totals** row shows the group in **AGENT NAME** and **AGENT GROUP-1**.
* On a totals row the percentages, **ABV**, **APV**, **BASKET** and the deficits are worked out again from the totals; they are not added up.
* **TOTAL BILLS** on a totals row counts each bill once, even when it appears in several rows.
* When, for example, the branch changes, the totals of the levels inside it (such as the agent group) are printed first, then the branch total.

## Salesman-wise sale report with agent group

> **Example — sales of each salesman under their agent group**
>
> A company has two branches. In the agent master, the salesmen Ravi and Sunil are placed under the group **Counter Sales**, Meena under the group **Field Sales**, and Arjun under no group. The manager wants, for September, each salesman's quantity and amount, with a total for each agent group, each branch and the whole company.
>
> In the configuration, tick **Branch Name**, **Agent Name** and **Agent Group** under **Report Consolidation**, and set **Report Order** to **Branch Name**, **Agent Group**, **Agent Name**. Under **Report Totals** tick **Branch Name**, **Agent Group** and **Grand Total**. Under **Report Options** set **Sale Report On** to **Sale + Sale Return (Net)**, **Agent Filter** to **Item Wise**, **Agent Group Level** to **None**, and tick **Agent Wise Rows Under Agent Group**. Choose the amounts that make up your net amount in **UD Net Amount-1**, and save the configuration as **SALESMAN WISE SALE**.
>
> Run the report from 01/09/2026 to 30/09/2026. For the first branch you see Ravi (40 pieces, ₹52,000) and Sunil (25 pieces, ₹31,000), then **Agent Group Wise Totals** for Counter Sales (65 pieces, ₹83,000); then Meena (30 pieces, ₹45,500) and the total for Field Sales; then Arjun under **NIL** — the agent he is linked to in the agent master — with its own total; then **Branch Wise Totals** for the branch. The second branch follows in the same way, and **Grand Totals** comes last.

In the report's columns, keep **BRANCH GROUP** (for the totals names), **BRANCH NAME**, **AGENT GROUP-1**, **AGENT NAME**, **TOTAL QUANITY** and **AMOUNT(USER DEFINED)**, and switch off the target columns if you do not use targets.

## Good to know

* **Agents with no agent group.** With **Agent Wise Rows Under Agent Group** ticked (and **Agent Name** ticked under **Report Consolidation**), agents that are not placed under any group in the agent master are listed together under the name of the agent they are linked to there — usually **NIL** — in its place among the groups, with their own total. Without it, only agents placed directly under a first-level agent group are shown when **Agent Group** is ticked, and the others are left out with their sales. To put an agent under a group, see [**Setup Agents/Brokers**](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/setup-accounts/setup-agents/setup-agents-brokers.md).
* Item lines with no agent are left out whenever **Agent Group** is ticked.
* **Item Wise** credits each item to the agent chosen on that item line in the sale bill; **Bill Wise** credits the whole bill to the agent of the bill.
* Targets are matched at the level the report is consolidated at: with neither **Company Name** nor **Group Name** ticked, only targets set for the agent as a whole are used; with **Company Name** ticked, company-wise targets; with **Group Name** ticked, group-wise targets; with both, company + group targets.
* With **Group Name** ticked, group-wise targets are matched on the **Item Group H - Level** chosen in the configuration, so choose the level the targets were entered on.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/reports-queries/agent-wise-reports/branch-+-agent-+-date-wise-target-vs-achievement-analysis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
