connect to list of .txt files that are stored on the web

rootsmusic 61 Reputation points
2021-05-23T19:24:14.647+00:00

I have a list of .txt filenames. How can I import them from the web and combine them, without doing so individually? Thanks.

Community Center | Not monitored
0 comments No comments
{count} votes

Accepted answer
  1. Ehren (MSFT) 1,781 Reputation points Microsoft Employee
    2021-06-04T19:09:49.11+00:00

    You can do this via a custom function. There are various examples of how to do this online, such as this one. What I would do:

    • Create a parameter and set it to the URL of one of the sample files
    • Create a new web query, and when prompted set the URL to the parameter you created in the previous step
    • Do whatever processing you plan to do for all the files against this sample file
    • Right-click on this sample query and generate a function from it
    • Import the table of file URLs
    • Click Add Column -> Invoke Custom Function. Choose the function you created above, and pass it the column that contains the file URL
    • Expand the resulting column
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.