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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
sreedhary
Frequent Visitor

How to call a Weservice in Power BI?

Hi,  for one of the report , we are in a need of calling a Webservice by passing the parameter and use the response in the report.

Is any one tried calling a Webservice in Power BI? If, Yes, what are the steps.

 

Please help.

 

Thank you!

Sreedhar

1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @sreedhary 

 

Besides the suggestion from @parry2k , I would suggest this post by Chris Webb also,

 

https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-i...

You can create a parameterized function that takes in your data and calls the web service. Once you have the function you can add it as a custom column.  See the following sites for examples:

 

http://datachix.com/2014/05/22/power-query-functions-some-scenarios/

 

http://satalyst.com/power-query-creating-a-parameterized-function-in-m/

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @sreedhary 

 

Besides the suggestion from @parry2k , I would suggest this post by Chris Webb also,

 

https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-i...

You can create a parameterized function that takes in your data and calls the web service. Once you have the function you can add it as a custom column.  See the following sites for examples:

 

http://datachix.com/2014/05/22/power-query-functions-some-scenarios/

 

http://satalyst.com/power-query-creating-a-parameterized-function-in-m/

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
parry2k
Super User
Super User

@sreedhary check this link

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.