Read FAQ
NEW
Bitrix24 Support
Registration and Authentication
How to start
My Profile
Feed
Chats and Calls
Calendar
Bitrix24.Docs
Bitrix24.Drive
Bitrix24.Mail
Workgroups
Tasks and Projects
CRM
CoPilot - AI in Bitrix24
Contact Center
Sales Center
CRM Analytics (beta)
BI Builder
Sales Intelligence
Inventory Management
Marketing
Sites
Online Store (beta)
CRM + Online Store
CRM Store (beta)
Bitrix24.Sign
Company
Knowledge base (beta)
Automation
Workflows
Telephony
Market
Subscription
Settings
Enterprise
Mobile App
Desktop App
General questions
Bitrix24 On-Premise

Bitrix24Care

Transfer entities from CRM to Microsoft Power BI

In the Microsoft Power BI desktop application, open the Transform data tab.

Then right-click on the entity and select the Duplicate option.

Rename the new entity and open the Advanced Editor.

In the editor, type in the desired parameter and click Done.

  • crm_deal – deals
  • crm_lead – leads
  • crm_deal_uf – deal user fields
  • crm_lead_uf – lead user fields
  • crm_deal_stage_history – deal history
  • crm_lead_status_history – lead history
  • telephony_call – calls
  • crm_company – companies
  • crm_contact – contacts
  • socialnetwork_group – project
  • crm_activity – activity

Example: how to transfer deal user fields

You can use the following code:

let
    raw_t = bx24_load_entity("crm_deal_uf"),

//["DEAL_ID","DATE_CREATE","UF_CRM_5B8D5D8583F53"]

    fixed_t = Table.TransformColumnTypes(raw_t,
        {
            {"DEAL_ID", Int64.Type},//Unique key
            {"DATE_CREATE", type datetime}//Change time
            //{"UF_CRM_5B8D5D8583F53", type text},//Creation time
    }),

    renamed_t = Table.RenameColumns(
        fixed_t,
        {
            {"DEAL_ID", "Deal Identifier"}
        }
    )


in
    renamed_t

Duplicate the entity and add the code to the Advanced Editor window.

The data can be used to build a report.

Was this information helpful?
Integration specialist assistance
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
Go to Bitrix24
Don't have an account? Create for free