Power Query M code
let
Source = Web.Page(Web.Contents("https://example.com/data-page")),
TargetTable = Source{0}[Data]
in
TargetTable
Extracts an HTML table from a web page's URL using Power Query's Web connector.
let
Source = Web.Page(Web.Contents("https://example.com/data-page")),
TargetTable = Source{0}[Data]
in
TargetTable
Change the index in Source{0} to pick a different table if the page contains more than one.
Browse all 145 snippets in the Power Query M Code Snippets, or search the library for something similar to Scrape a Table from a Web Page.