Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dolicd
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
lbendlin
Super User
Super User

@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
lbendlin
Super User
Super User

@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.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.