🚚 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

BI Builder datasets: Calendar

A dataset contains information you can use to create charts and analyze business metrics.

In this article, you'll learn about the calendar dataset. Use it to analyze events, meetings with attendees, their duration, availability, and meeting room usage.

Datasets:

Examples:


Choose a dataset

To analyze information in a dashboard, choose a suitable dataset and create a chart.

calendar_event — calendar events. This dataset contains data from calendar event system fields: time and duration, organizer, location, recurring events, and more. Use this dataset to analyze the number and duration of meetings, employee availability, and meeting room usage.

calendar_event

Field Description Data type
ID Event record ID Number
PARENT_ID Main event record ID Number
IS_MASTER Shows whether this is the main event record: Y — yes, N — no. If attendees are invited to a meeting, the dataset includes one main meeting record and one record for each invitee String
NAME Event name String
EVENT_TYPE Event type: "Regular event", "Meeting via public link", "Meeting via CRM link", "Meeting via collab link", "Collab event", "Call", "Booking", "Resource booking" String
CALENDAR_TYPE Calendar type: "Personal calendar", "Group or project calendar", "Company calendar" String
OWNER_ID Calendar owner ID Number
CREATED_BY_ID ID of the event record author Number
CREATED_BY_NAME First and last name of the event record author String
CREATED_BY ID and name of the event record author String
MEETING_HOST_ID Meeting organizer ID Number
MEETING_HOST_NAME Meeting organizer's first and last name String
MEETING_HOST Meeting organizer ID and name String
IS_MEETING Shows whether this is a meeting with attendees: Y — yes, N — no String
MEETING_STATUS Invitation response status: "Host", "Accepted", "Declined", "No response", "Not set" String
DATE_FROM Event start date and time Date and time
DATE_TO Event end date and time Date and time
TIMEZONE_FROM Event time zone String
TIMEZONE_OFFSET Event time zone offset from UTC, sec Number
DURATION Event duration, sec Number
IS_FULL_DAY Shows whether the event lasts all day: Y — yes, N — no String
IS_RECURRING Shows whether the event is recurring: Y — yes, N — no String
RECURRENCE_RULE Recurrence frequency: "Daily", "Weekly", "Monthly", "Yearly" String
IS_RECURRENCE_EXCEPTION Shows whether one occurrence of the event was changed: Y — yes, N — no String
ACCESSIBILITY Availability in the calendar: "Busy", "Free", "Tentative", "Absent", "Not set" String
IMPORTANCE Event importance: "Normal", "High", "Low", "Not set" String
IS_PRIVATE Shows whether this is a private event: Y — yes, N — no String
LOCATION Event location String
LOCATION_TYPE How the location is set: "Calendar meeting room", "Meeting room of the old type", "Text", "Not set" String
LOCATION_ROOM_ID ID of the calendar meeting room booked for the event Number
LOCATION_ROOM_NAME Name of the calendar meeting room booked for the event String
DATE_CREATE Event creation date and time Date and time
TIMESTAMP_X Date and time of the last event change Date and time

Create a chart

Add information from the dataset to charts. Analyze the number and duration of meetings, employee availability, and meeting room usage. Add the organizer to the chart to compare meeting counts and duration by employee.

  1. Open BI Builder > Charts.
  2. Click + Chart in the top-right corner.
  3. Choose the calendar_event dataset from the list. If you do not see the dataset you need, click Add a dataset.
    Create a dataset
  4. Choose a chart type — the format for viewing the information, such as a card, table, line chart, or another option.
  5. Click Create new chart.

Count meetings and their duration

Use a SQL query to count meetings and their total duration by organizer.

  1. Open BI Builder > SQL > SQL Lab.
  2. Make sure bitrix24 is selected in the Schema field.
  3. Enter the SQL query and click Run.
  4. Review the query results. To create a chart for a report, save the query as a dataset.
    Create a chart from a virtual dataset

If this is your first time working with SQL queries, use the sample below.

Example SQL query

This query shows the number of meetings and their total duration in hours by organizer.

 SELECT MEETING_HOST AS "Organizer", COUNT(*) AS "Number of meetings", SUM(DURATION) / 3600.0 AS "Duration, h" FROM calendar_event WHERE IS_MEETING = 'Y' AND IS_MASTER = 'Y' GROUP BY MEETING_HOST; 

In the query:

  • SELECT sets the fields in the result: organizer, number of meetings, and total duration
  • MEETING_HOST returns the meeting organizer ID and name
  • COUNT(*) counts the meetings
  • SUM(DURATION) / 3600.0 adds up meeting durations in seconds and converts the result to hours
  • FROM sets the dataset — calendar_event
  • WHERE sets the filter: keeps only meetings with attendees and their main records
  • IS_MEETING = 'Y' selects meetings with attendees
  • IS_MASTER = 'Y' excludes invitee records so one meeting is not counted more than once
  • GROUP BY MEETING_HOST groups meetings by organizer into one result row

For a recurring meeting, the query counts the series as one meeting. If a user changes a single occurrence, it is counted as an extra meeting.


In brief

  • A dataset contains information you can use to create charts and analyze business metrics.
  • The calendar dataset is calendar_event.
  • Use this dataset to analyze the number and duration of meetings, employee availability, and meeting room usage.
  • To count meetings by organizer, run an SQL query, save the result as a dataset, and create a chart.
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
BI Builder datasets: CRM details and addresses Manage Bitrix24 with the CoPilot Agent CoPilot: Getting started Work with unread chats in Bitrix24 CoPilot Agent: Your personal assistant in CRM Create and configure an AI site with CoPilot Secure Bitrix24 On-Premise with external security tools Use an AI agent to get data from the BI connector Use message reactions Set up Messenger in Bitrix24
Zalo
0943.199.449