---
title: "BI by R&D Copilot"
description: "Metrics, saved questions, dashboards and scheduled reports with shared filters and document-level results."
canonical: "https://bi.rdcopilot.com/"
language: en
updated: 2026-11-22
---

# One figure, its definition and invoices

The definition comes first, so two reports no longer give two totals.

[Request a proposal](https://rdcopilot.com/contact/?product=reports) [Read the docs](https://bi.rdcopilot.com/docs/)

Same figure in both

Revenue by product

RON 202,798.50

Management dashboard

RON 202,798.50

What the animation shows:

1.  The report starts from the issued invoices of 2026-10.
2.  Net revenue adds quantity × unit net: FCT-2026-00415 and FCT-2026-00436 give RON 119,455.50.
3.  BRR-2026-00127 brings it to RON 202,798.50, without tax.
4.  The draft FCT-2026-00456 is left out: only issued invoices count.
5.  Revenue by product and the Management dashboard read the same definition: RON 202,798.50 in both.
6.  CRM cannot be reached when the figure is refreshed. The last result stays and the figure does not change.
7.  On Monday at 08:00 the same figure goes to management by e-mail.
8.  The next report starts from the same definition.

## One filter changes every figure

Period, company and department narrow the same invoice lines. Revenue, margin and receivables recalculate together; open orders use those same filters.

All companies

### Dashboard

### Dashboard

Period2026-10DepartmentAll

Net revenue

RON 202,798.50

Change: +5.7%

Gross margin

32.2%

RON 65,248.00

Overdue receivables

RON 72,063.00

2 invoices · oldest 33 days

Open orders

2

RON 91,983.00

#### Net revenue · Product line

2026-10

Food RON 142,063.00

Household RON 60,735.50

2026-09

Food RON 134,885.50

Household RON 57,017.00

Net revenue · Month

### Show data as a table

| Period | Revenue |
| --- | --- |
| Jul | 169,050.5 |
| Aug | 182,548 |
| Sept | 191,902.5 |
| Oct | 202,798.5 |
| Target | 220,000 |

| Metric | 2026-10 | Previous period | Change |
| --- | --- | --- | --- |
| Net revenue | RON 202,798.50 | RON 191,902.50 | RON 10,896.00 |

FreshLast sync: 2026-11-22 06:00 UTC

## From a bar to the invoices in it

Grouping changes how the rows are divided, not the revenue definition. Invoice identifiers stay attached to each amount, including after grouping by week.

1.  Choose a product line
    
    Open the food bar to see the invoice lines that make its total.
    
    [Show it: Choose a product line](https://bi.rdcopilot.com/?view=question&open=food#dashboard)
2.  Read the rows
    
    Each amount keeps the identifiers of the invoices behind it.
    
    [Show it: Read the rows](https://bi.rdcopilot.com/?view=question&open=food#dashboard)
3.  Group by week
    
    Keep the same filters and change only the grouping dimension.
    
    [Show it: Group by week](https://bi.rdcopilot.com/?view=question&open=week#dashboard)
4.  Open the invoice
    
    Read quantity and unit net for FCT-2026-00415.
    
    [Show it: Open the invoice](https://bi.rdcopilot.com/?view=question&open=FCT-2026-00415#dashboard)

## A question, written as steps you can read

Read the source, filters and grouping before you use the result.

Source

Issued invoices

Filter

2026-10 · All companies · All departments · All products

Summarise

`SUM(quantity * unitNet)` by product line

Sort

Product line · ascending

Query text

Source: issued-invoices
Filter: period=2026-10; company=all; department=all; productLine=all
Summarise: SUM(quantity \* unitNet) BY productLine
Sort: productLine asc

2 of 2 rows

| Product line | Net revenue |
| --- | --- |
| Food | RON 142,063.00 |
| Household | RON 60,735.50 |

## How fresh each source is

Last sync is the time of the last successful read, so a failed source shows an older time than the others. Compare these times before reconciling results from different sources.

| Source | Last sync | State |
| --- | --- | --- |
| ERP | 2026-11-22 06:00 UTC | Fresh |
| CRM | 2026-11-20 06:00 UTC | Failed · The source connection could not be reached. |
| Treasury | 2026-11-22 02:00 UTC | Running |
| e-Factura Gateway | 2026-11-22 05:30 UTC | Fresh |

## From the source systems to Monday’s e-mail

The Monday report passes through sync, the metric definition and the saved question before it is e-mailed. If a source fails, the steps already done stay valid and the retry starts at the connection.

1.  Source systems
2.  Sync
3.  Metric
4.  Question
5.  Dashboard
6.  Scheduled e-mail

The Monday report

1.  Source systems
    
    Read the source records
    
    ERP, CRM, Treasury and e-Factura Gateway supply the records for the report.
    
    Source revision
    
    Revision 1
    
    Complete
    
2.  Sync
    
    Refresh the dataset
    
    Keep the successful source revision with the invoice lines.
    
    Source revision
    
    Revision 1
    
    Dataset revision
    
    Revision 1
    
    Complete
    
3.  Metric
    
    Apply the definition
    
    Sum issued invoice lines without tax or drafts.
    
    Source revision
    
    Revision 1
    
    Dataset revision
    
    Revision 1
    
    Net revenue
    
    RON 202,798.50
    
    Complete
    
4.  Question
    
    Run the saved question
    
    Group the permitted rows by product line for October.
    
    Source revision
    
    Revision 1
    
    Dataset revision
    
    Revision 1
    
    Net revenue
    
    RON 202,798.50
    
    Result rows
    
    Food RON 142,063.00: FCT-2026-00415, BRR-2026-00127 · Household RON 60,735.50: FCT-2026-00436
    
    Complete
    
5.  Dashboard
    
    Update the dashboard
    
    Use the same period and company filters for every figure.
    
    Source revision
    
    Revision 1
    
    Dataset revision
    
    Revision 1
    
    Net revenue
    
    RON 202,798.50
    
    Result rows
    
    Food RON 142,063.00: FCT-2026-00415, BRR-2026-00127 · Household RON 60,735.50: FCT-2026-00436
    
    Dashboard
    
    RON 202,798.50 · +5.7% · RON 72,063.00
    
    Complete
    
6.  Scheduled e-mail
    
    Deliver the Monday report
    
    The management schedule delivers the completed result at 08:00.
    
    Source revision
    
    Revision 1
    
    Dataset revision
    
    Revision 1
    
    Net revenue
    
    RON 202,798.50
    
    Result rows
    
    Food RON 142,063.00: FCT-2026-00415, BRR-2026-00127 · Household RON 60,735.50: FCT-2026-00436
    
    Dashboard
    
    RON 202,798.50 · +5.7% · RON 72,063.00
    
    Delivery
    
    2026-11-16 06:00 UTC · Management
    
    Complete
    

A source fails to refresh

1.  Source systems
    
    Read the source records
    
    ERP, CRM, Treasury and e-Factura Gateway supply the records for the report.
    
    Source revision
    
    Revision 1
    
    Complete
    
2.  Sync
    
    Keep the last result
    
    The source connection could not be reached.
    
    Source revision
    
    Revision 1
    
    Dataset revision
    
    Revision 1 retained
    
    Reason
    
    source\_unavailable
    
    Refresh failed
    
3.  Sync
    
    Retry the same source
    
    A later successful connection updates the source revision without changing the metric definition.
    
    Source revision
    
    Revision 2
    
    Dataset revision
    
    Revision 2
    
    Complete
    
4.  Metric
    
    Apply the definition
    
    Sum issued invoice lines without tax or drafts.
    
    Source revision
    
    Revision 2
    
    Dataset revision
    
    Revision 2
    
    Net revenue
    
    RON 202,798.50
    
    Complete
    
5.  Question
    
    Run the saved question
    
    Group the permitted rows by product line for October.
    
    Source revision
    
    Revision 2
    
    Dataset revision
    
    Revision 2
    
    Net revenue
    
    RON 202,798.50
    
    Result rows
    
    Food RON 142,063.00: FCT-2026-00415, BRR-2026-00127 · Household RON 60,735.50: FCT-2026-00436
    
    Complete
    
6.  Dashboard
    
    Update the dashboard
    
    Use the same period and company filters for every figure.
    
    Source revision
    
    Revision 2
    
    Dataset revision
    
    Revision 2
    
    Net revenue
    
    RON 202,798.50
    
    Result rows
    
    Food RON 142,063.00: FCT-2026-00415, BRR-2026-00127 · Household RON 60,735.50: FCT-2026-00436
    
    Dashboard
    
    RON 202,798.50 · +5.7% · RON 72,063.00
    
    Complete
    
7.  Scheduled e-mail
    
    Deliver the Monday report
    
    The management schedule delivers the completed result at 08:00.
    
    Source revision
    
    Revision 2
    
    Dataset revision
    
    Revision 2
    
    Net revenue
    
    RON 202,798.50
    
    Result rows
    
    Food RON 142,063.00: FCT-2026-00415, BRR-2026-00127 · Household RON 60,735.50: FCT-2026-00436
    
    Dashboard
    
    RON 202,798.50 · +5.7% · RON 72,063.00
    
    Delivery
    
    2026-11-16 06:00 UTC · Management
    
    Complete
    

### What each step writes

| Step | Record created or changed |
| --- | --- |
| 1 Read the source records | Source revision |
| 2 Refresh the dataset | Dataset revision |
| 3 Apply the definition | Net revenue |
| 4 Run the saved question | Result rows and invoice identifiers |
| 5 Update the dashboard | Dashboard result |
| 6 Deliver the Monday report | Delivery time and recipients |

| Step | Record created or changed |
| --- | --- |
| 1 Read the source records | Source revision |
| 2 Keep the last result | Failure reason; previous revision retained |
| 3 Retry the same source | Source and dataset revision |
| 4 Apply the definition | Net revenue |
| 5 Run the saved question | Result rows and invoice identifiers |
| 6 Update the dashboard | Dashboard result |
| 7 Deliver the Monday report | Delivery time and recipients |

## Run a saved question from your code

Send the saved question, the revision you read and explicit filters. The 202 response only accepts the request: read the operation until it completes, then read the run for the rows below.

curlJavaScriptPythonPHPC#

curl

Copy

```
curl -X POST "$RDC_BASE_URL/bi/v1/questions/revenue-by-product/runs" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "41800000-0000-4000-8000-000000000001",
  "expectedRevision": 1,
  "runId": "41800000-0000-4000-8000-000000000002",
  "filters": {
    "period": "2026-10",
    "companyId": null,
    "department": null
  }
}'
```

Response202 Accepted

```
{
  "operationId": "41800000-0000-4000-8000-000000000001",
  "status": "accepted",
  "aggregateRevision": 1
}
```

| Product line | Net revenue | Issued invoices |
| --- | --- | --- |
| Food | RON 142,063.00 | FCT-2026-00415, BRR-2026-00127 |
| Household | RON 60,735.50 | FCT-2026-00436 |

[Run a saved question](https://bi.rdcopilot.com/docs/get-started/quickstart/)[API reference](https://bi.rdcopilot.com/docs/api-reference/questions/)[Events](https://bi.rdcopilot.com/docs/events/event-catalogue/)

## Questions about figures and definitions

### What is counted as net revenue?

Issued invoice lines contribute quantity multiplied by unit net. Tax and draft invoices are excluded.

### Why can two people see different totals?

Company permissions restrict the rows before the question runs. Period and department filters then apply to that permitted set.

### Can a chart explain its total?

Open a product line to read its contributing invoices. Group those rows by week without changing the definition.

### What happens when a source fails?

The last successful result stays visible with its refresh time and the failure reason. A failed refresh does not replace it with zero.

### Can another application use the same question?

Run the saved question with explicit filters through the API. Read the completed operation before retrieving the result rows.

## Proposal for BI

Tell us which figures you reconcile, where their records live and who needs the Monday report.

[Request a proposal](https://rdcopilot.com/contact/?product=reports)
