Forum

Fail to load table ...
 
Notifications
Clear all

Fail to load table to excel sheet from Query editor

4 Posts
3 Users
0 Reactions
161 Views
(@leal)
Posts: 2
New Member
Topic starter
 

I have below m code which is working perfectly in query editor, table was fetched with no issue. However, unable to load the table to excel sheet. Im not sure if there is something special with this website as i didnt face this problem with other sites.

Appreciate to have some advise to sort this problem

 

let

Source = Web.Page(Web.Contents("http://edge.pse.com.ph/disclosureData/dividends_and_rights_info_form.do")),

Data = Source{0}[Data],

#"Changed Type" = Table.TransformColumnTypes(Data,{{"Company Name", type text}, {"Type of Security", type text}, {"Type of Dividend", type text}, {"Dividend Rate", type text}, {"Ex-Dividend Date", type date}, {"Record Date", type date}, {"Payment Date", type date}, {"Circular Number", type text}})

in

#"Changed Type"

 
Posted : 01/05/2019 6:31 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Leal,

Welcome to our forum.

I'm unable to load the data from that site too. It reports a time out error, so it's possible the website is preventing the data being downloaded. I'm not sure, sorry.

Mynda

 
Posted : 02/05/2019 1:43 am
(@leal)
Posts: 2
New Member
Topic starter
 

Hello Mynda

Are you aware of any special approach for non secure sites? Or it is just the same?

Leal

 
Posted : 02/05/2019 8:20 am
(@catalinb)
Posts: 1937
Member Admin
 

Hi,

All you can do is to increase the timeout value:

Source = Web.Page(Web.Contents("http://edge.pse.com.ph/disclosureData/dividends_and_rights_info_form.do",[Timeout=#duration(0,0,10,0)])),

(that means 10 minutes)

 I received the error: "An unknown error occured when navigating to web page"

 
Posted : 02/05/2019 2:58 pm
Share: