Forum Discussion

ronaldbalza2023's avatar
ronaldbalza2023
Continued Contributor
4 years ago
Solved

Dynamically combine files from a folder

Hi everyone, I have files from a folder that adds a new file everyday. How can I dynamically combine these files based on the same name? Say DimController will be one table, DimMachine will be one ta...
  • hnguy71's avatar
    4 years ago

    Hi ronaldbalza2023 ,

     

    You can use the Power Query editor to make the necessary transformations. 

     

    Select Get Data > Folder > Input your folder path

    Then click Transform Data.

     

     

    From here, for each of your tables you want, you can filter for the required files. For instance, if I wanted to filter and combine for DimController, the next applied step would be this:

     

    If you did it right, you should only have your DimController files. Once correct, click the two down arrows to combine them together.