cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Communicate with a REST API to fetch and retrieve data

Hi. 

I need to use a REST API to retrieve data that should be visualized in PBI. As the resulting data from the REST depend on the input which I create in PBI I need to be able to do POST and GET on the REST API. As far as I see this does not seem to be possible in PBI. We are thinking of a solution which combines the useage of DAX language and Python. Prepare teh data request in DAX, hand over to Python, do the API call in Python and hand over the result to DAX again. 

Is this useful? Does anyone has any experience with this? Thanks

1 ACCEPTED SOLUTION
Super User III
Super User III

@dolicd  Power Query supports HTTP GET and POST commands via Web.Contents() calls  (for POST specify a "content" payload).

You can use Power BI URL buttons too, but only for GET calls, and you can't process the returned data in DAX.

View solution in original post

1 REPLY 1
Super User III
Super User III

@dolicd  Power Query supports HTTP GET and POST commands via Web.Contents() calls  (for POST specify a "content" payload).

You can use Power BI URL buttons too, but only for GET calls, and you can't process the returned data in DAX.

View solution in original post

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors