In this guide, you'll learn how to automatically load data from Microsoft Forms into Power BI for seamless reporting and visualization. This step-by-step tutorial covers the entire process, from setting up the data source to refreshing reports automatically.
Note: This method works with Power BI Desktop and Power BI Service.
Prerequisites
- A Microsoft Forms survey with responses
- Power BI Desktop installed
- A Microsoft 365 work or school account
Step 1: Get Your Form ID
- Open your Microsoft Form and copy the form ID from the URL.
- The ID is the long string after
formId=in the URL.
Step 2: Connect Power BI to Microsoft Forms
- In Power BI Desktop, click Get Data > Other > Blank Query.
- In the Query Editor, go to Advanced Editor and paste the following M code:
let
Source = Forms.GetResponses("your-form-id-here"),
#"Converted to Table" = Record.ToTable(Source)
in
#"Converted to Table"
- Replace
"your-form-id-here"with your actual form ID. - Click Done. Power BI will prompt you to sign in to your Microsoft 365 account.
Step 3: Transform and Load Data
- After signing in, you'll see a table with response data. Expand columns as needed.
- Click Close & Apply to load the data into Power BI.
Step 4: Automate Refresh in Power BI Service
- Publish your report to Power BI Service.
- Go to Dataset settings > Scheduled refresh and enable it.
- Set the refresh frequency (e.g., daily).
- Ensure the gateway is configured if needed.
Now your report will automatically update with new form responses!