Skip to content
Feature

Add Pixies to Power BI Reports via the Microsoft Fabric API

BI Pixie instrumentation flow using Microsoft Fabric API
BI Pixie Power BI Instrumentation Microsoft Fabric

We’re introducing a new way to add Pixies to your Power BI reports with BI Pixie using Microsoft Fabric API. The new method streamlines your existing CI/CD processes without the need to manually export your reports. With it, you can now choose among three methods to add Pixies to your reports:

  1. Manually or externally: You bring your reports and semantic models locally, then you run BI Pixie Desktop (bi-pixie.exe) using the target folder. This method is documented here.

  2. Using Git: You connect BI Pixie Desktop with your Git or GitHub repository. BI Pixie Desktop will pull the definitions of your reports and semantic models and can even commit and push the items with Pixies in the repository and the Power BI workspaces that are integrated with Git. This method is documented here.

  3. Using the new way via Microsoft Fabric API: You tell BI Pixie which workspaces and reports to use. BI Pixie will load the definitions of the reports and semantic models (Using Get Item Definition API call) and will store the files locally. Then, BI Pixie will add Pixies to the reports and semantic models and update the report definitions in their corresponding workspaces.

How Does It Work

You can connect BI Pixie Desktop to Microsoft Fabric / Power BI service to automatically export the definitions of your reports and semantic models, and import the items with Pixies back into your workspaces. First, you will tell BI Pixie which workspaces to use. Then, you can specify which reports to include or exclude. BI Pixie will load the definitions of the reports and semantic models (Using Get Item Definition API call) and will store the files locally. Then, BI Pixie can add Pixies to the reports and semantic models locally and even update the changes in the workspaces.

Learn more about the new method using Fabric API in BI Pixie User Guide.

Why choose the Fabric API path?

  • Easier: No need to export the reports locally.
  • Scoped & safe: Include/exclude specific workspaces and reports to stay within API limits. The data in the semantic models is not exported as part of adding Pixies.
  • Dry-run friendly: Test locally first; push to service only when ready.
  • Pipeline-ready: Fits cleanly into Power BI Deployment Pipelines for a disciplined Dev → Test → Prod flow.

Before you start

  1. Define all mandatory BI Pixie configuration parameters as described in the Manual / External folder guide. Checklist
  2. Install the Azure CLI on the machine that runs bi-pixie.exe, and sign in with az login before adding Pixies. Install Azure CLI

How it works (at a glance)

  1. Tell BI Pixie which workspaces to use and which reports to include or exclude.
  2. BI Pixie uses the Fabric Get Item Definition API to download report & semantic model definitions and stores them locally.
  3. BI Pixie adds Pixies locally (usage tracking and other selected features).
  4. Optionally, BI Pixie updates the workspace items with the definitions that now have Pixies.

Quick-start configuration

Add or update these keys in your bi_pixie_configuration.json:

{
  "use_report_folder_as_project": true,
  "fabric_settings": {
    "enable_workspace_context": true,
    "auto_mapping_folders_to_workspaces": true,
    "load_items_using_fabric_api": true,

    // Set to false for a dry run (local test only), true to write back to the service
    "save_items_using_fabric_api": true,

    // Scope which workspaces to pull from
    "include_all_workspaces": false,
    "include_workspace_ids": [
      "<TEST-WORKSPACE-ID>"
    ],

    // Scope which reports to pull from those workspaces
    "include_all_reports": false,
    "include_report_ids": [
      "<REPORT-ID-1>",
      "<REPORT-ID-2>"
    ]
  }
}

Tip: Keep save_items_using_fabric_api = false while you test locally. When the reports with Pixies look good, flip it to true to push changes back to the Power BI Service.

Streamline adding Pixies into your Deployment Pipelines

If you use the Deployment Pipelines in Power BI, you can set BI Pixie to load the definitions from your Test stage while keeping the original reports in the Development stage. After you run BI Pixie, you can test the reports in the Test workspace in Power BI Service and then deploy them in the Production stage using the Deployment Pipeline feature in Power BI. The following diagram illustrates how you can add Pixies as part of your existing process using Power BI Deployment Pipeline.

A Power BI deployment pipeline with Development, Test and Production stages. Step 1 deploys the original reports from Development to Test, step 2 runs BI Pixie against the Test workspace ID, and step 3 deploys the reports with Pixies from Test to Production.

If you manage releases with Deployment Pipelines, the Fabric API method slots neatly into your flow:

  1. In your pipeline, open the Test stage and navigate to the workspace. Copy the Workspace ID from the URL (e.g., https://app.powerbi.com/groups/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/list?...).
  2. Add that ID to include_workspace_ids in your config. Optionally specify particular report IDs.
  3. When changes in Development are ready, deploy to Test (Step 1 in the diagram).
  4. Run BI Pixie. It will pull definitions from Test, add Pixies to them, and (optionally) write back (Step 2).
  5. Validate in Test.
  6. Deploy the artifacts with Pixies from Test → Production (Step 3).

FAQ

Do I need a Microsoft Fabric capacity for this feature? No. You can use this feature with any workspace in Power BI service

Do I need Git for this? No. The Fabric API method talks directly to your Power BI Service workspaces. If you already use Git integration in your workspaces, you can consider using the Git route

Can I test locally before touching the service? Yes. You can run a dry run by setting save_items_using_fabric_api to false.

Which permissions are required? You must be able to read item definitions and (if saving) update items in the targeted workspaces. Sign in via az login with an account that has the appropriate rights.

Is this feature available in all plans?

This capability is available in the Professional and Enterprise self-hosted plans. Contact Sales for details. You can also evaluate it during a proof-of-concept engagement.

What’s next

Search the docs, the blog and the product pages.