Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Folks,
I want to take data from API and want to load into Power-Bi.
Can any one suggest me how to do this and also, how can i get sample API for practice.
Regards,
Pratik
Solved! Go to Solution.
Hi @UI ,
Test like the below:
Step 1:
Open the Power BI desktop. Click on the “Get Data” button and select the “Web” option as shown in the below screenshot.
Step 2:
Click on the “Connect” button. A new window will pop up and you will see two options. (Basic and Advanced)
Step 3:
You must enter the URL of API which returns the data you want to fetch. Fill in the URL and click on OK.
Power BI will automatically arrange the results fetched by calling in a key-value pair in the form of rows. You can also use the advance option if you need.
And to learn more details ,refer:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
The web.contents function is your key to start interacting with APIs in Power BI, in the link below you will find an article on how to start using this.
Hi @UI ,
Test like the below:
Step 1:
Open the Power BI desktop. Click on the “Get Data” button and select the “Web” option as shown in the below screenshot.
Step 2:
Click on the “Connect” button. A new window will pop up and you will see two options. (Basic and Advanced)
Step 3:
You must enter the URL of API which returns the data you want to fetch. Fill in the URL and click on OK.
Power BI will automatically arrange the results fetched by calling in a key-value pair in the form of rows. You can also use the advance option if you need.
And to learn more details ,refer:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
@UI So like a custom API? Sounds like you would be writing a custom connector at that point or using R or Python. Here's an example of essentially working with an API in R.
@UI , Rest API ?
https://community.powerbi.com/t5/Power-Query/Using-a-REST-API-as-a-data-source/td-p/50400
https://www.progress.com/tutorials/odbc/directquery-your-custom-rest-api-in-power-bi
https://zappysys.com/blog/howto-import-json-rest-api-power-bi/
https://www.youtube.com/watch?v=ipI6mrWLQKA
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
104 | |
69 | |
48 | |
41 | |
34 |
User | Count |
---|---|
164 | |
112 | |
62 | |
54 | |
38 |