I have been trying to import data from a website into power query (or one excel worksheet). The data I need extends over 5 "pages"
http://flyeia.com/flights/departures#sm.0000ysr85e9vnctez8n2h6y6ywlq0
http://flyeia.com/flights/departures?page=1#sm.0000ysr85e9vnctez8n2h6y6ywlq0
http://flyeia.com/flights/departures?page=2#sm.0000ysr85e9vnctez8n2h6y6ywlq0
and so on (usually 5-7 pages). I tried using a formula in power query like
(page as number) as table =>
let
Source = Web.Page(Web.Contents("http://flyeia.com/flights/departures#sm.0000jr36lyj9nd66r981iljc7caia")),
Data0 = Source{0}[Data]
in
Data0
but all that does is copy the first page over and over and over again. Is there a way I can do get all 5 (or 7) pages of data into one worksheet?? in a perfect world, I would be able to refresh this data in excel as the flights are delayed, canceled or depart as I pull this data 2x per shift and right now copy and paste each page into excel (there must be a better way!!!)
http://flyeia.com/flights/departures#sm.0000ysr85e9vnctez8n2h6y6ywlq0
http://flyeia.com/flights/departures?page=1#sm.0000ysr85e9vnctez8n2h6y6ywlq0
http://flyeia.com/flights/departures?page=2#sm.0000ysr85e9vnctez8n2h6y6ywlq0
and so on (usually 5-7 pages). I tried using a formula in power query like
(page as number) as table =>
let
Source = Web.Page(Web.Contents("http://flyeia.com/flights/departures#sm.0000jr36lyj9nd66r981iljc7caia")),
Data0 = Source{0}[Data]
in
Data0
but all that does is copy the first page over and over and over again. Is there a way I can do get all 5 (or 7) pages of data into one worksheet?? in a perfect world, I would be able to refresh this data in excel as the flights are delayed, canceled or depart as I pull this data 2x per shift and right now copy and paste each page into excel (there must be a better way!!!)