Skip to main content

Microsoft Power BI Integration

Microsoft Power BI is a data visualization and business intelligence software available for Windows. Power BI can be used to import data, create data models, and build visual reports using data from a variety of web and database connectors. The IQM Reports custom connector for Power BI Desktop allows users to easily access their IQM ad-serving data for Campaigns through the Power BI Desktop application, where it can be transformed into visual reports for sharing and analysis.

Prerequisites

Before using the IQM Reports Power BI connector, you must have:

If you are unfamiliar with Power BI, detailed documentation can be found at Microsoft Power BI Documentation.

Setup

Step 1: Download the Connector

  1. Download the connector's GitHub repository from IQM Power BI Connector GitHub
  2. On the repository page, select Code > Download ZIP

Step 2: Install the Connector

  1. Open or extract the downloaded .zip file
  2. Locate the iqm-powerbi-web.mez file in the bin\AnyCPU\Debug directory
  3. Place this .mez file into: C:\Users\<User_Name>\Documents\Power BI Desktop\Custom Connectors
  4. If this directory does not exist, create it

Step 3: Enable Custom Connectors

  1. Open Power BI Desktop
  2. Navigate to File > Options and settings > Options
  3. In the Security tab, under Data Extensions, check the option: (Not Recommended) Allow any extension to load without validation or warning
  4. Click OK and restart Power BI Desktop

The IQM Reports connector should now be available for use in the application.

Connect to IQM Reports Data

Step 1: Open Get Data Dialog

  1. In the Home tab at the top, click Get Data > More
  2. This opens the Get Data dialog with a list of data connectors

Step 2: Select IQM Reports Connector

  1. Click on the connector labeled IQM Reports (Beta) (Custom)
  2. Click the Connect button at the bottom of the dialog

Step 3: Configure Parameters

Input the required parameters:

  • Date Interval Start: Start date in format YYYY-MM-DD (e.g., 2025-01-15)
  • Date Interval End: End date in format YYYY-MM-DD
  • Group By: Available dimensions include Campaigns and Creatives
note

Dates are interpreted as UTC. The start date begins at midnight (00:00:00), and the end date ends at 11:59:59 PM (23:59:59).

Step 4: Sign In and Authorize

  1. Click Sign in to authorize the connector
  2. Enter your IQM email and password
  3. Approve OAuth access to allow Power BI to access your IQM data
  4. After signing in, click Connect

Step 5: Select Data Tables

  1. In the Navigator window, select the data tables to import by checking the checkboxes
  2. Each Group By dimension provides:
    • A table of aggregated ad-serving data
    • A table of daily ad-serving data
  3. Click Load

Working with Data

Data View

Power BI Desktop retrieves ad-serving reporting data and converts them into tables. In the Data view, you can:

  • View and manipulate each table
  • Filter and sort data
  • Add calculated columns and measures

For more information, see Power BI Data View Documentation.

Report View

To create a visual report:

  1. Navigate to the Report view
  2. Click on a visualization option in the Visualizations sidebar
  3. Drag fields from the Fields sidebar to the visualization components

Power BI offers many built-in visualization types. See Power BI Visualization Types for a complete list.

Additional visualization types can be downloaded from Microsoft AppSource via More visuals > From AppSource in the Home tab.

Example Visualization

To create a Stacked Column Chart:

  1. Select Stacked Column Chart from the Visualizations sidebar
  2. Drag Campaign Name to X Axis
  3. Drag Impressions to Y Axis
  4. Drag Creative Name to Legend
  5. Drag Clicks to Tooltips

For detailed information on creating visualizations, see Power BI Visualizations Documentation.

Using the Report Template

The IQM Reports GitHub repository includes a report template file (IQM_Report_Template.pbit) in the report_template directory. This file is an editable template for a visual report that uses the IQM Reports connector, showing an example of how the connector might be used.

Using the Template

  1. Extract the repository .zip file if not already extracted
  2. Open Power BI Desktop and select File > Import > Power BI template
  3. Navigate to the extracted directory and select IQM_Report_Template.pbit

Upon opening the template, Power BI will attempt to use the IQM Reports connector to import data from IQM. If you are not already logged in, Power BI will prompt you for your login credentials. Click Sign in as different user and enter your IQM account credentials to use the report template.

After you log in, navigate to the Report tab to view the report template. The report template consists of several visualizations that are now pre-filled with your IQM ad-serving data according to the predefined connector inputs present in the template file.

Customizing Date Range

You will likely want to customize the date range (Date Interval Start and Date Interval End) for the report data. To modify the connector input values:

  1. Click on the Data tab
  2. Right-click on the table whose date range you want to adjust
  3. Select Edit query to open the Power Query Editor

Editing Queries

The Power Query Editor window allows you to connect to data sources and transform imported data sets. It provides many powerful tools for transforming data, including filtering rows, calculating new columns, joining queries, and more. For more information, see Power Query Documentation.

Applied Steps

In the Power Query Editor, locate the Applied Steps section in the sidebar. This section lists all the steps and transformations applied to the data set imported from the query selected under Queries (on the left). Two steps are initially applied:

  • Source: Represents the connector and the parameters passed to it
  • Navigation: Represents the tables selected to be imported from the connector

To edit connector parameters:

  1. Under Applied Steps, click the gear icon next to Source
  2. A popup window will allow you to edit the parameters
  3. Modify the Date Interval Start and Date Interval End parameters
  4. Click OK
warning

If you are using the report template or have visualizations using the data set from the query, avoid changing the Group By and Second Group By fields—this may break the visualizations that use the queries.

Repeat this process for each query in the Queries sidebar whose parameters you want to modify.

Custom Columns

The Power Query Editor provides tools for transforming query data. For example, you can add new columns to the tables generated by the queries.

Example: Adding a column that shows the percentage of daily budget spent each day:

  1. Create or select a query that imports daily ad-serving data grouped by campaigns
  2. In the Add Columns tab, select Custom Column
  3. In the Custom Column window, enter:
    • The name of the new column
    • The formula to calculate the column value (can be a simple expression or a Power Query M Formula)
  4. Select column names from the Available Columns list on the right
  5. Click OK to add the column to the table (a new step will be added to Applied Steps)

Finalizing Changes

To finalize changes to edited queries:

  1. Click Close & Apply in the Home tab
  2. This saves changes to the queries and reloads ad-serving data from the connector
  3. Navigate back to the Report tab to view and edit the updated report

Publishing Reports

For users with a Power BI Pro or Premium Per User (PPU) license, reports can be shared via the Power BI Service.

To Publish a Report

  1. Save the report in Power BI Desktop (File > Save As)
  2. Select Publish in the Home tab of the Report view
  3. Sign in to Power BI Service if prompted
  4. Select the workspace to publish to
  5. Click Open in Power BI to view the report in the Power BI Service

Additional Resources

Have a question?
Was this page helpful?