+ Reply to Thread
Results 1 to 4 of 4

Best source for importing currency exchange rates using PQ?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-18-2017
    Location
    Lithuania
    MS-Off Ver
    2016
    Posts
    177

    Best source for importing currency exchange rates using PQ?

    Hello,

    What is the best source for importing currency exchange rates using Power Query?
    x-rates is a good source but only for main currency pairs and I need more.

    thanks!

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Best source for importing currency exchange rates using PQ?

    Is this something you can work with?
    let
        Source = Web.Page(Web.Contents("https://www.xe.com/currencytables/?from=USD&date=2018-10-31")),
        Data0 = Source{0}[Data],
        #"Changed Type" = Table.TransformColumnTypes(Data0,{{"Units per USD", type number}, {"USD per Unit", type number}})
    in
        #"Changed Type"
    Attached Files Attached Files
    Last edited by Ron Coderre; 11-25-2018 at 10:29 PM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Contributor
    Join Date
    06-18-2017
    Location
    Lithuania
    MS-Off Ver
    2016
    Posts
    177

    Re: Best source for importing currency exchange rates using PQ?

    Quote Originally Posted by Ron Coderre View Post
    Is this something you can work with?
    let
        Source = Web.Page(Web.Contents("https://www.xe.com/currencytables/?from=USD&date=2018-10-31")),
        Data0 = Source{0}[Data],
        #"Changed Type" = Table.TransformColumnTypes(Data0,{{"Units per USD", type number}, {"USD per Unit", type number}})
    in
        #"Changed Type"
    it would, but it does not refresh, is that right? I mean it will take the rates which are as of 31st Oct, 2018?

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,902

    Re: Best source for importing currency exchange rates using PQ?

    Here is one that I have been using
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 09-17-2016, 05:33 AM
  2. VBA Function - Exchange Rates
    By skankingpigeon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-08-2016, 06:53 PM
  3. Exchange rates display
    By akhmoud in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-02-2013, 02:02 AM
  4. Match up currency exchange rates and calculate
    By zl068565 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-18-2013, 02:46 PM
  5. [SOLVED] Calculating multiple exchange rates
    By Merlinti in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-20-2012, 03:42 PM
  6. Formula for exchange rates
    By msincome in forum Excel General
    Replies: 1
    Last Post: 03-29-2011, 03:14 AM
  7. matching dates and currency exchange rates
    By LoriL in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-08-2009, 06:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1