March 20, 2024

Connecting Power BI to Accounting BI can be accomplished through two methods: using a custom connector and Power Query.


A.) Power BI (Custom Connector): This method requires a paid Power BI subscription to access the .mez file.

B.) Power BI(M Code)

A) Power BI (Custom Connector):

  1. Using a Blank File:

This method requires a paid Power BI subscription and involves creating a custom connector for Accounting BI.


  • Obtain and download the .mez file:

A custom connector file (. mez ) will be provided by Accounting BI upon paid subscription.

  • Create two folders as follows:

1. Navigate to "This PC" from your Desktop.

2. In your "Documents" section, create a folder named "Power BI Desktop."

3.Within "Power BI Desktop," create another folder named "Custom Connectors."

4. Paste the downloaded .mez file into the "Custom Connectors" folder.

  • Open Power BI Desktop:

Once completed, open Microsoft Power BI Desktop on your PC. If not installed, download and install Power BI Desktop from the Microsoft Store.

  • Connect the Custom Connector:

1.Go to the "Home" tab and select "Get Data," then choose "More" from the options.

2.Click on "Other," and search for the keyword "Acc." Then select the Accounting BI connector and click "Connect."

  • Authenticate with Bearer Token:

  1. In the Power Query editor, paste the Bearer Token obtained from your Accounting BI reports.
  2. Paste the URL for the desired endpoint (provided on the Accounting BI connector page).
  3. Click "Invoke" to establish the connection.

4. To know how you can obtain URL Endpoints and Token refer to the following URL: (Balance sheet Reports and Profit and Loss reports)

  • Access generated Data:

Click the double arrow and select "Expand to New Rows". Repeat this step to expand the data further by (clicking on the double arrow again) and click "OK"

  • Repeat this step to expand the data further by (clicking on the double arrow again) and click "OK"

  • View Your Data:

Your Accounting BI data will now be displayed in the Power Query editor.

  1. Templates

  • To fully prepare your template through a custom connector, a subscription plan is required.
  • For support, contact our team at:

B.) Power BI(M Code)

1.Using a Blank File:


  • In Power Bi Desktop go to Get Data from Home Tab in Power Bi and select Blank Query.


  • Then Click on Blank Query you will be directed to Power Query click on Advanced Editor from Query section.

  • Then Paste the below m code in Advanced Editor
    M Code:


    Token = "Bearer (Paste the Bearer Token Here)",

        Url = "(Paste the API URL Here)",


GetAPIData = (token as text) as record =>
Source = Json.Document(Web.Contents(Url, [Headers=[Authorization=token]])),
AnotherAPICall = if Record.HasFields(Source, {"url"}) then
Result = AnotherAPICall
FinalResult = GetAPIData(Token)

  • Click on Done

  • Now click on Edit Credentials:


  • Click on Connect


  • Now Click on Continue and set the Privacy level as Public and save it.

  • Now Click on Into Table:

  • Click on Double side arrow and select Expand to new Rows:

  • Click on Double arrow and click ok

  • Now your data will be displayed in this way:

2. Templates

  • Pre-configured templates may be available for purchase through Accounting BI.
  • Contact our team at: to acquire a pre-built template.

"Have questions or need further assistance? Reach out to us!"

learn more

Why is PowerBI important for Accountants?

As an accountant, you may find yourself referring to multiple sources to track the performance of your client’s cash flow, profitability, business trends and even bookkeeping cycle. What if you could access those results and comparisons automatically refreshed, on-demand, from your tablet, smartphone, PC, or even wearable device? Business intelligence and data visualisation systems can provide accountants with – the critical data and organisation summary in a custom format in one (or more) visuals or a dashboard. One of these powerful business intelligence tools is PowerBI.

Power BI: What is DAX?

DAX (Data Analysis Expressions) is a formula expression language developed by Microsoft to interact with data in different analysis services and visualisation tools platforms like Power BI, PowerPivot and SSAS tabular models. DAX can seem familiar to competent excel users as the language uses similar formulas and expressions.

How to connect your Xero account(s) to AccountingBi

This guide will walk you through two methods for connecting your Xero accounting software to AccountingBi

How to call your profit and loss account reports from Xero to AccountingBi

We have outlined a step-by-step process of calling your profit and loss report data from your Xero account to AccountingBi - article and video.

How to call the balance sheet reports from Xero to AccountingBi

We have outlined the steps of calling balance sheet reports from Xero to AccountingBi in a video (watch below) and an article.

How to connect Microsoft excel to Xero through AccountingBi

This video and article provide steps for connecting Xero to PowerBi through AccountingBi. It assumes that you've already pulled the Xero API from accounting BI for your various reports.
1 2 3 5
READ MORE - Business Intelligence Software
Copyright © 2023 is a brand owned and operated by Accounting SQL Limited, incorporated in the United Kingdom. ​
Terms & Conditions - GDPR