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
keajht31
Frequent Visitor

How to import data from ajax web page?

Hi experts,

 

I tried import some weather data on a web page. For static data, Power Query can import them with no problem. However for data tables that uses ajax, they are not found in the preview mode of Power Query. I can copy them manually and paste them into Excel with no formatting problem but I would prefer it to be automated. Is there any work around on that? Thank you for your help.

1 ACCEPTED SOLUTION

@keajht31,

As my previous reply, you can use Get Data from Web by example feature  to extract data from the web page to Power BI. See more details in attached PBIX file.
1.PNG2.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
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

5 REPLIES 5
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@keajht31,

Which web page do you refer to? Please check if you can get data from the web page using Get Data from Web by example feature in Power BI Desktop.

Regards,
Lydia

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

Thank you for your reply. This is the website I am refering to: https://www.hko.gov.hk/cis/dailyExtract_e.htm?y=2018&m=08

When using the "Import from web" function, the table is not found in the preview mode. I checked the website code and found that the datatable is dynamically filled. In contrast, this function works in the following website: https://www.hko.gov.hk/cgi-bin/hko/warndb_e1.pl?opt=5&start_ym=201208&end_ym=201808&submit=Submit+Qu...

 

 

@keajht31,

As my previous reply, you can use Get Data from Web by example feature  to extract data from the web page to Power BI. See more details in attached PBIX file.
1.PNG2.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hello,

 

I'm just beginning to use Power BI. I understand Power BI can scrap ajax web page data, but I can't scrap this one:

https://www.construplaza.com/Materiales/Aceros/Tuber%C3%ADa

 

Can you help me with this please?

 

Thanks for the help. 

Thank you so much for your help. 

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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