Microsoft Power BI

Visualize any data and integrate the visuals into the apps you use every day with Power BI, a unified platform for self-service and business intelligence.

Integrate the Microsoft Power BI API with the Python API

Setup the Microsoft Power BI API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Microsoft Power BI and Python remarkably fast. Free for developers.

Run Python Code with Python API on Dataset Refresh Completed from Microsoft Power BI API
Microsoft Power BI + Python
 
Try it
Run Python Code with Python API on Dataset Refresh Failed from Microsoft Power BI API
Microsoft Power BI + Python
 
Try it
Run Python Code with Python API on New Dataset Refresh Created from Microsoft Power BI API
Microsoft Power BI + Python
 
Try it
Dataset Refresh Completed from the Microsoft Power BI API

Emits a new event when a dataset refresh operation has completed. See the documentation

 
Try it
Dataset Refresh Failed from the Microsoft Power BI API

Emits an event when a dataset refresh operation has failed in Power BI. See the documentation

 
Try it
New Dataset Refresh Created from the Microsoft Power BI API

Emit new event when a new dataset refresh operation is created. See the documentation

 
Try it
Add Rows to Dataset Table with the Microsoft Power BI API

Adds new data rows to the specified table within the specified dataset from My workspace. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Cancel Dataset Refresh with the Microsoft Power BI API

Cancels a refresh operation for a specified dataset in Power BI. See the documentation

 
Try it
Create Dataset with the Microsoft Power BI API

Creates a new Push Dataset in Power BI. See the documentation

 
Try it
Get Dataset Refresh with the Microsoft Power BI API

Triggers a refresh operation for a specified Power BI dataset. See the documentation

 
Try it

Overview of Microsoft Power BI

The Microsoft Power BI API allows you to interact with your Power BI assets programmatically. With this API, you can embed your reports and dashboards into applications, manage Power BI datasets, push data into datasets for real-time dashboard updates, and automate your reporting workflows. On Pipedream, you can use this API to create intricate workflows that react to various triggers, like webhooks or schedules, and perform actions like refreshing datasets, posting to datasets, and managing Power BI assets.

Connect Microsoft Power BI

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    microsoft_power_bi: {
      type: "app",
      app: "microsoft_power_bi",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.powerbi.com/v1.0/myorg/availableFeatures`,
      headers: {
        Authorization: `Bearer ${this.microsoft_power_bi.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}