Forum Discussion
Beginner - exchange rate API
- 5 years ago
DennisSchlein
We are all always learning;
if you just open Advanced editor then you can replace your code with mine - remember to add in the key.
Get Data --> From Web -- Click on AdvancedAnother option to get data for multiple dates would be to use the timeseries mentioned in the documentation but this looks like it is dependent on the subscription you have.
Regarding getting data for different dates, as mentioned by amitchandak Chris Webbs cross join blog will help.
Hi NickA01 ,
This is SO close to working :'(
When I do as you do, and do a single call towards : http://api.exchangeratesapi.io/v1/ - it works.
I have made a date table with all dates from 01-01-2015 -til today.
So when I copy the string from your setup:
= (Date as text) => let
C=currency,
Source = Json.Document(Web.Contents("http://api.exchangeratesapi.io/v1/" & Date & "access_key=b5b562191a8c1fea37bcef334834395d" & "&symbols=EUR,PLN,SEK,NOR,EUR")),
rates = Source[rates],
#"Converted to Table" = Record.ToTable(rates),
#"Renamed Columns" = Table.RenameColumns(#"Converted to Table",{{"Name", "Currency"}, {"Value", "Rate"}})
in
#"Renamed Columns"
But change the static date to my date coloum, I get
Looks like it has switched back to anonymous auth and it needs to be Web API.