Website Connection Query

mwttaylor

New Member
Joined
Feb 9, 2017
Messages
2
Hi,

This is a long shot. I've set up a connection to a website that pulls historical data into a table in my spreadsheet. I've used the URL below to create the connection/query. My question is is there anyway of automatically updating "end=20180115" so each day when I refresh the spreadsheet it automatically pulls in the new days data rather than me having to go through each query updating the date (I plan on having lots of tables like this so having to update everyone will be really time consuming).

https://coinmarketcap.com/currencies/bitcoin/historical-data/?start=20171216&end=20180115

There is nothing I can do on at website end so just wondered if there was anything I could do in excel to achieve this.

Thanks
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Are you using a 'From Web' Power Query connection? If so, you can configure the query to use the URL from a table cell value, where the cell value is a formula which constructs the URL with the current date. Configuring the query means using the Advanced Editor to edit the query text so that it uses the cell value from the table (which changes according to the current date) instead of the hard-coded fixed URL. This makes the query use a dynamic URL according to the current date.

See if you can follow the steps at https://social.technet.microsoft.co...source-url-with-power-query-?forum=powerquery, and if not I'll try to help further.
 
Upvote 0

Forum statistics

Threads
1,214,824
Messages
6,121,783
Members
449,049
Latest member
greyangel23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top