Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
Since Walmart has a API available to get its data, I am wondering if I can call the API from PBI?
Is there a way to resolve an API and populate some matrixs?
Thanks
Solved! Go to Solution.
Hi @Rigolleto
Yes, it is possible to get data from an API with Power BI. For a simple GET request to an API, you can use the Web connector directly. Go to Get data > Web. Select Advanced option if it requires some more header parameters in the request.
If a request is more complicated or it's a POST request, you need to write some M codes which includes Web.Contents and paste the codes in Advanced Editor of a query in Power Query Editor to call an API.
You could refer to this article Getting Started with API's in Power Query • My Online Training Hub to start exploring it.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @Rigolleto
Yes, it is possible to get data from an API with Power BI. For a simple GET request to an API, you can use the Web connector directly. Go to Get data > Web. Select Advanced option if it requires some more header parameters in the request.
If a request is more complicated or it's a POST request, you need to write some M codes which includes Web.Contents and paste the codes in Advanced Editor of a query in Power Query Editor to call an API.
You could refer to this article Getting Started with API's in Power Query • My Online Training Hub to start exploring it.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
@Rigolleto , do you need token based auth for that
https://community.powerbi.com/t5/Developer/REST-API-Get-Access-Token/m-p/1895937
User | Count |
---|---|
77 | |
76 | |
44 | |
30 | |
26 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |