Power My Analytics offers a native Power BI connector that allows you to load your Data Builder datasets directly into Power BI Desktop for custom reports and dashboards. This guide walks you through connecting your PMA hub to Power BI, installing the custom connector, building your first report, and setting up scheduled data refreshes.
The Power BI integration is currently in Alpha. Features and workflows described in this article may change as the integration is developed further.
Overview
The Power My Analytics connector for Power BI enables you to:
- Load your Data Builder datasets directly into Power BI Desktop without intermediate exports
- Import blended, business-ready data from multiple marketing platforms
- Refresh your data on demand within Power BI Desktop
- Set up scheduled refreshes using Power BI Service and a data gateway
- Create custom reports and interactive dashboards using your PMA data
Key Terms
| Data Builder |
A data preparation tool within your PMA hub that lets you create business-ready datasets from your connected sources. Datasets contain one or more data tables with your selected metrics and dimensions. See the Data Builder Guide for details. |
| Dataset |
A container in Data Builder that organizes related data tables — similar to a folder for your marketing data. You might create separate datasets for each client, campaign type, or reporting purpose. |
| Data Table |
A table within a dataset that contains your actual metrics and dimensions. Data tables can pull from a single source or blend data from multiple sources. |
| .mez File |
A Power BI custom connector file. The Power My Analytics .mez file enables Power BI Desktop to connect directly to your PMA hub and load your Data Builder datasets. |
| Organization ID |
Your unique PMA organization identifier, provided in the Power BI connection setup wizard within your PMA hub. This ID is used alongside your Bearer Token to authenticate Power BI Desktop with your hub. |
| Bearer Token |
A secure authentication token generated specifically for the Power BI integration. This token is provided in the Power BI connection setup wizard and is used alongside your Organization ID to authenticate Power BI Desktop with your PMA hub. |
| Custom Connectors Folder |
A folder on your computer at [Documents]\Power BI Desktop\Custom Connectors where Power BI Desktop looks for custom connector .mez files. |
| Power BI Service |
Microsoft's cloud-based platform for publishing, sharing, and scheduling refreshes for Power BI reports. Also known as Power BI Online or app.powerbi.com. |
| On-Premises Data Gateway |
A Microsoft application that acts as a bridge between Power BI Service (cloud) and custom connectors installed on your local machine, enabling scheduled data refreshes. |
Prerequisites
Before you begin, make sure you have the following:
- An active Power My Analytics subscription
- At least one Data Builder dataset with one or more data tables configured: The Power BI integration connects exclusively to Data Builder datasets. You cannot connect individual source accounts (e.g., a Facebook Ads account) directly to Power BI through the PMA connector. Data must first be configured in Data Builder.
- Power BI Desktop installed on your Windows computer: The PMA custom connector (
.mez file) is designed for Power BI Desktop, which is only available on Windows. Power BI Desktop is not supported on Mac. - A Microsoft account or organizational account for Power BI
The Power BI connector for PMA pulls data from your Data Builder datasets. Make sure your data tables contain all the metrics and dimensions you need before connecting to Power BI. For detailed instructions on creating datasets and data tables, see the
Data Builder Guide.
Limitations
- Scheduled refreshes require a gateway: To set up automatic scheduled refreshes via Power BI Service, you must install and configure a Microsoft On-Premises Data Gateway on a machine that remains online. See Set Up a Gateway for Scheduled Refreshes below.
Step 1: Set Up Your Data Builder Datasets
Before using the Power BI integration, you need to prepare your data in Data Builder.
- In your PMA hub, navigate to Data Builder in the left sidebar.
- Create a dataset by clicking + Create Dataset and giving it a descriptive name (e.g., "Client ABC Reports" or "Social Media Performance").
- Add data tables to your dataset with the metrics and dimensions you want to report in Power BI.
- For blended reports, configure your join keys to combine data from multiple sources into a single data table.
For detailed instructions on creating datasets and data tables, see the Data Builder Guide.
Step 2: Navigate to Power BI in Your PMA Hub
Power BI is located in the Reports section of your PMA hub's left sidebar.
- Log in to your hub at hub.powermyanalytics.com.
- In the left sidebar, expand Reports.
- Click Power BI.

Click the Connect to Power BI button in the top-right corner of the Power BI page. This opens a three-step connection setup wizard that will guide you through the process.
Wizard Step 1: Install the Custom Connector
Create the Custom Connectors Folder
For Power BI Desktop to detect the PMA connector, you must first create a folder named Custom Connectors at the following location on your computer:
This PC > Documents > Power BI Desktop > Custom Connectors
If the Power BI Desktop folder does not already exist under your Documents folder, create it first, then create the Custom Connectors folder inside it.
The full folder path is typically: C:\Users\[YourUsername]\Documents\Power BI Desktop\Custom Connectors
Download the .mez File
In the connection wizard, click the Download Power My Analytics.mez file link. Once downloaded, move or paste the Power My Analytics.mez file into the Custom Connectors folder you just created.
Before Power BI Desktop can use the PMA connector, you need to adjust its security settings to allow custom connectors to load.
- Open Power BI Desktop.
- Go to File > Options and settings > Options.

- In the left panel under Global, select Security.

- Under Data Extensions, select (Not Recommended) Allow any extension to load without validation or warning.
- Click OK.
- When prompted that the change requires a restart, click OK and then restart Power BI Desktop so the new connector is loaded.

This setting is required because the PMA connector is a custom (third-party) connector. Power BI's default security settings only allow certified connectors to load. You can revert this setting if you remove the .mez file in the future.
Once Power BI Desktop has restarted, click Next in the PMA connection wizard to proceed to step 2.
Wizard Step 2: Connect Power BI Desktop to Your PMA Hub
With the .mez file installed and security settings configured, you can now connect Power BI Desktop to your PMA hub.
- In Power BI Desktop, click Get Data > More... from the Home ribbon.

- Search for Power My Analytics or browse to find it in the list.
- Select the Power My Analytics connector and click Connect.
- A PMA Connector credentials dialog will appear, requesting your Organization ID and Bearer Token.

The connection wizard in your PMA hub displays both your Organization ID and Bearer Token.
Click the Copy button next to each field in the wizard, then paste each value into the corresponding field in the PMA Connector dialog in Power BI Desktop.
- Click Connect in the PMA Connector dialog to authenticate.
Your Organization ID and Bearer Token are unique to your hub. Keep these credentials secure and do not share them publicly or include them in shared reports.
Once authenticated, Power BI will establish a connection to your PMA hub and display your available Data Builder datasets. Click Next in the PMA connection wizard to proceed to step 3.
Wizard Step 3: Select Your Report and Load Data
After successful authentication:
- In Power BI Desktop, navigate to Get Data > More... select Power My Analytics, and choose your report from the list of available datasets in the Navigator window.
- Click Get Report to preview the data.
Optionally configure the following parameters before loading:
- Number of Days — how many days of data to retrieve (1–365, default is 30)
- Include Today — whether to include today's partial data in the date range

- Click Apply, then click Load to import your data into Power BI.
You can also click Transform Data instead of Load to open Power Query Editor for additional data preparation before loading.
Your selected Data Builder data tables will now appear as tables in Power BI's Fields pane, ready to use in reports and dashboards.
- Click Done in the PMA connection wizard to close it.
Step 4: Build Your First Report
With your PMA data loaded into Power BI Desktop, you can start building reports.
- In the Fields pane on the right side, expand your imported data table(s) to see available metrics and dimensions.
- Drag a dimension (e.g., Campaign Name or Date) onto the report canvas or into the Axis area of a visualization.
- Drag a metric (e.g., Impressions, Clicks, or Cost) into the Values area.
- Power BI will automatically create a visualization based on the fields you selected. You can change the visualization type using the Visualizations pane.
- Continue adding visualizations to build out your report page. Use filters, slicers, and calculated columns to customize your analysis.
- Save your report by going to File > Save.
If you created blended data tables in Data Builder, the blended data will already be unified in Power BI. No additional joining or merging is needed within Power BI itself.
Refreshing Your Data
Manual Refresh in Power BI Desktop
To update your report with the latest data from your PMA hub:
- Open your saved report in Power BI Desktop.
- Click Refresh in the Home ribbon.
- Power BI will re-query your Data Builder datasets and pull the latest available data.
Set Up a Gateway for Scheduled Refreshes (Power BI Service)
To enable automatic, scheduled data refreshes without manually opening Power BI Desktop, you can publish your report to Power BI Service and use a Microsoft On-Premises Data Gateway. The gateway acts as a bridge between Power BI Service (cloud) and the custom PMA connector installed on your local machine.
Install the On-Premises Data Gateway
- Download the On-Premises Data Gateway from Microsoft's download page.
- Install the gateway on a Windows machine that will remain powered on and connected to the internet (this can be the same machine where Power BI Desktop is installed).
- Sign in with the same Microsoft account you use for Power BI Service.
- Register the gateway and give it a descriptive name.
Add the Custom Connector to the Gateway
- On the machine where the gateway is installed, open the On-Premises Data Gateway app.
- Go to the Connectors tab.
- Set the custom data connectors folder path to the same Custom Connectors folder containing your
Power My Analytics.mez file (e.g., C:\Users\[YourUsername]\Documents\Power BI Desktop\Custom Connectors). - Click Apply and restart the gateway if prompted.
- In Power BI Desktop, go to File > Publish > Publish to Power BI and select a workspace.
- Open your report in Power BI Service.
- Navigate to your workspace and find the dataset associated with your published report.
- Click the three-dot menu (…) next to the dataset and select Settings.
- Under Gateway and cloud connections, select the on-premises gateway you configured and map the PMA data source connection.
- Under Scheduled refresh, toggle the refresh to On and configure your desired refresh frequency (e.g., daily or multiple times per day).
- Click Apply.
The machine running the On-Premises Data Gateway must remain powered on and connected to the internet for scheduled refreshes to succeed. If the gateway goes offline, scheduled refreshes will fail until it comes back online.
Troubleshooting
The Power My Analytics connector does not appear in Get Data
- Verify that the
Power My Analytics.mez file is in the correct folder: [Documents]\Power BI Desktop\Custom Connectors
- Confirm you adjusted the Data Extensions security setting in Options > Security to allow custom connectors (see Step 3, Wizard Step 1).
- Restart Power BI Desktop after making changes.
Authentication errors when connecting
- Ensure you are using the Organization ID and Bearer Token displayed in the PMA hub's Power BI connection wizard, not credentials from any other source.
- Return to Reports > Power BI in your hub and click Connect to Power BI to view and re-copy your credentials.
- Verify that you have pasted each credential into the correct field — the Organization ID and Bearer Token are separate values.
- If the issue persists, contact our support team.
No datasets appear after authentication
- Confirm that you have at least one Data Builder dataset created with at least one data table. The PMA Power BI connector requires Data Builder datasets to be configured before data can be loaded.
- Check that your data tables contain fields (metrics and/or dimensions). Empty data tables may not appear in the Navigator.
Scheduled refresh fails in Power BI Service
- Verify that the On-Premises Data Gateway is online and running.
- Confirm the gateway's custom connectors folder path includes the
Power My Analytics.mez file.
- Check that the gateway connection is properly mapped to your dataset in Power BI Service settings.
- Review the refresh history in Power BI Service for specific error messages.
- Data Builder Guide
- Power My Analytics Data Connector User Guide
- Basic Troubleshooting
- Power BI Custom Connector Documentation (Microsoft)
- On-Premises Data Gateway Documentation (Microsoft)
For additional assistance, please contact our support team.