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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rajeshchawla
Helper I
Helper I

Need help invoking post method in Power BI Report

I'd like to create a Power BI button that invokes a POST method on a REST api. For the button, I've only been able to do a 'GET' call via the WEB URL action. 

 

Any thoughts or alternatives on how to invoke a POST method ?

7 REPLIES 7
SofBL
Frequent Visitor

Hello @rajeshchawla I'v recently seen Daniel Sanders on pbig.nl summit, from https://plainwater.nl/ he created a function app that converts a get request into a post request. It has some limitations for instance the importance of security, and he warns for that. Secondly if you want to do a datarefresh by pushing a buton, you might try power automate or logic app https://www.process.st/how-to/refresh-power-bi-dataset-using-power-automate/

 

Santhoshyeravel
Frequent Visitor

@rajeshchawla

 

I am also stuck with same use case can you help if you solution for this 

v-stephen-msft
Community Support
Community Support

Hi @rajeshchawla ,


Sorry to disturb you...


But did I answer your question ? Please mark my reply as solution. Thank you very much.

 

Best Regards,
Stephen Tao

I see from your post how to invoke POST methods via M. However, I don't see how this would solve the use case of invoking a POST method as a button action on a report. Perhaps I'm missing something ?

v-stephen-msft
Community Support
Community Support

Hi @rajeshchawla ,

 

I found these posts might be helpful to solve your issue, please kindly refer to:

Post Method in Power BI
How to run POST request in M?
Using a REST API as a data source - POST Method Only

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for taking the time. I see from your post how to invoke POST methods via M / PowerQuery. However, I don't see how this would solve the use case of invoking a POST method as a button action on a report. Perhaps I'm missing something ?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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