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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
captainlaw
Microsoft Employee
Microsoft Employee

Real Time Pulling Data From Public Website (ie weather.gov)

Hello Power BI Community,

I've a simple scenario, I'm pulling data from weather.gov (or any public website) into Power BI Desktop, but I would like to make it real-time meaning refresh every 10 minutes.  What's your recommended easy route to go about refreshing public website dataset?

 

Your help is much appreciated.

-John

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee


@captainlaw wrote:

Hello Power BI Community,

I've a simple scenario, I'm pulling data from weather.gov (or any public website) into Power BI Desktop, but I would like to make it real-time meaning refresh every 10 minutes.  What's your recommended easy route to go about refreshing public website dataset?

 

Your help is much appreciated.

-John


@captainlaw

For that real-time purpose, the normal "get data"->"other"->"web" doesn't work, as it still requires "schedule refresh" and the refresh is limited to 8 times daily.

 

One way promising is to use Power BI REST API to push data, see Real-time streaming in Power BI. Alternatively you can save the html data in a database and then connect to the database in DirectQuery mode. For both ways, it requires some coding skill, you need to scrape html page, parse the html and save data in a database for DQ mode or send it via REST API call.

Thanks.  If there is sample example of public website being scraped, it would help understand the architecture with Power BI API.

Does the API require some JSON file provided by the website?  If so, do you happen to know a list of websites that provide JSON scripts?  Websites that can provide weather, sports... etc.

 

Cheers.


@captainlaw wrote:

Thanks.  If there is sample example of public website being scraped, it would help understand the architecture with Power BI API.

Does the API require some JSON file provided by the website?  If so, do you happen to know a list of websites that provide JSON scripts?  Websites that can provide weather, sports... etc.

 

Cheers.


@captainlaw

You can send data to Power BI following this tutorial Push data into a Power BI dataset. As to how to scrape html to get the sent data, I'd say it is actually not on Power BI aspect. There're various demos on internet, see a simple demo Parsing HTML Table in C#.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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