Read FAQ
NEW
Bitrix24 Support
Registration and Authentication
How to start
My Profile
Feed
Messenger
Start page: the Vibe
Calendar
Bitrix24 Drive
Bitrix24 Mail
Workgroups
CoPilot - AI in Bitrix24
Tasks and Projects
CRM
Contact Center
Sales Center
CRM Analytics (beta)
BI Builder
Sales Intelligence
Inventory Management
Marketing
Sites
Online Store (beta)
CRM + Online Store
CRM Store (beta)
e-Signature
e-Signature for HR
Company
Knowledge base (beta)
Automation
Workflows
Telephony
Market
Subscription
Settings
Enterprise
Desktop App
General questions
Bitrix24 On-Premise
Log In
Your Bitrix24
Authorize to enter
your company's Bitrix24.
Enter

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
Related articles
Limit the number of columns in Microsoft Power BI entity Add multiple SPAs to a Power BI report Filter report data by different dates in Microsoft Power BI Connect Microsoft Power BI Hide ID at the beginning of a text line in PowerBI