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
Anonymous
Not applicable

Ingest data via a webhook

In order to access automatic reporting from a service we use, I'm required to create a webhook URL, where they will send data to (as opposed to retrieving data from an API). I was wondering if this system could be managed in some way using Power Query within Power BI? I.e. be able to create a URL which enables the data to be sent straight to the Power BI dataset in question. I can't see any obvious way to do it, so I'm assuming it isn't possible but if anyone has any ideas, they would be greatly received.

6 REPLIES 6
Anonymous
Not applicable

It is my understanding that a webhook is a push api that required a client end point, as you descirbed. It is my understanding that you can create this end point in the power bi serivce. It is called a "streaming dataset" in powerbi terminology. https://docs.microsoft.com/en-us/power-bi/connect-data/service-real-time-streaming 

mahoneypat
Employee
Employee

While it is possible to set up a flow with a URL that can receive data you can then send to a Power BI dataset, I think it would be easier to have them email you the data in a consistent format (Excel, CSV, JSON, XML), and have a flow that is triggered from that email and then moves to file to SharePoint/OneDrive, and trigger refresh of your Power BI dataset that uses that SharePoint/OneDrive as the source.

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

Checked with them and don't think it's going to be possible @mahoneypat. What would be the best way to create a URL that is capable of storing data in that case? Use a paid solution or try and code it up myself in python, say, which I have a reasonable knowledge and understanding of but I've never done data extraction this way around (normally use APIs rather than webhooks).

You can adapt the approach in this article (others out there too) to send data to a URL that triggers a Flow in which you can a save the data to SharePoint/OneDrive and then refresh the dataset that uses it as the source.

Chris Webb's BI Blog: Calling Microsoft Flow From Power Query And Power BI Chris Webb's BI Blog (cro...

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


mahoneypat
Employee
Employee

Try using the Web connector and pasting your url into the popup box, and see how that works.  Do you know what type of authentication your webhook expects?

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

Thanks @mahoneypat. Problem is, I actually need to create the URL in the first place. Is there any way I can do this through Power BI, maybe by creating an application, or do I have to do it another way? If the latter, what's the best method of doing it that is free (coding it using Python for example)? I've seen companies like Hevo that provide the ability to create a webhook URL where data can be sent and stored on their servers but they charge £200 a month, which I'm trying to avoid.

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.

Top Solution Authors
Top Kudoed Authors