🚚 Miễn phí giao hàng toàn quốc

✅ Tặng Gói Hỗ trợ online trọn đời

✅ Giá cạnh tranh nhất thị trường

✅ Miễn phí tư vấn giải pháp

🚚 Miễn phí giao hàng toàn quốc

✅ Tặng Gói Hỗ trợ online trọn đời

✅ Giá cạnh tranh nhất thị trường

✅ Miễn phí tư vấn giải pháp

Hotline: 0943.199.449

Địa chỉ: Tầng 1, tòa nhà Deli, 75 Hoàng Văn Thụ, P. Cầu Kiệu

Bitrix24 Helpdesk

Create a chart from a virtual dataset

Learn how to build a virtual dataset in BI Builder. You can combine data from deals, products, and custom fields, then use it in a chart.

Open BI Builder and go to SQL > SQL Lab.
Create dashboards in BI Builder

Set up parameters

Configure the following:

  • Database: trino
  • Schema: bitrix24
  • Table: crm_deal

Write the SQL query

Add your query in the editor. This query does four things:

  1. d.TITLE returns the deal name from crm_deal.

  2. du.UF_CRM_1702288663142 returns a custom field from crm_deal_uf. Replace this with your field ID from CRM. To find it, open a deal, right-click the field, and click Inspect.

  3. dp.PRODUCT_NAME returns the product name from crm_deal_product_row.

  4. INNER JOIN links the tables using the shared DEAL_ID.

SELECT d.TITLE, du.UF_CRM_1702288663142, dp.PRODUCT_NAME FROM crm_deal d INNER JOIN crm_deal_uf du ON d.ID = du.DEAL_ID INNER JOIN crm_deal_product_row dp ON d.ID = dp.DEAL_ID; 

Save the dataset

  1. Click Save as new.
  2. Enter a clear name for the dataset.

Rename columns

Make the dataset easier to read:

  1. Go to Datasets.
  2. Click Edit next to your dataset.
  3. Open the Columns tab.
  4. Update column names in the Label field.

Create a chart

  1. Open the Charts section.
  2. Click + Chart.
  3. Select your virtual dataset.
  4. Choose how to display the data.
  5. Click Create new chart.

Configure the chart

  1. Select Raw Records as the query mode.
  2. Move metrics to the Columns panel.
  3. Click Create chart.

Save the chart

  1. Enter a name for the chart.
  2. Select a dashboard.
  3. Click Save.

View the result

  1. Return to Bitrix24.
  2. Reopen the report to see the updated dashboard.

In brief

  • Use BI Builder to combine data into a virtual dataset with SQL.
  • Select fields like deal name, products, and custom values.
  • Rename columns to make charts easier to understand.
Was this information helpful?
Thank you for your feedback.
Get Implementation Help from a Partner
That's not what I'm looking for
Complicated and incomprehensible text
The information is outdated
It's too short. I need more information
I don't like the way this tool works
Get your Bitrix24 set up by local professionals
FIND BITRIX24 PARTNER NEAR ME
implementation_helper_man
Go to Bitrix24
Don't have an account? Create for free
Related articles
Edit dashboards in BI Builder Configure dashboard parameters in BI Builder BI Builder: Configure filters by flows and workflow templates Customize ready BI Builder dashboards Create dashboards in BI Builder BI Builder datasets and fields BI Builder: Date filters in SQL query Jinja Templates in BI Builder BI Builder: SQL functions for advanced query analysis Blend deals, products, and product properties into a BI Builder dataset
Zalo
0943.199.449