Forum Discussion

Gems's avatar
Gems
Icon for Advocate I rankAdvocate I
3 years ago
Solved

Import folder with several txt files separately

I am trying to import several txt files from one folder. When I import the folder, I get what is in the image, one single table with several links to the different tables. So if I want them separately in the editor, I have to right click to the ‘Binary’ i the first column that is in green and ‘Add as a new query’ one by one. Is there a better way to import these files?

Thank you so much!!

 

 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Gems ,

     

    You can try to combine them.

    To combine binary files in Power Query Editor, select Content (the first column label) and choose Home > Combine Files. Or you can just select the Combine Files icon next to Content.

    Below is the official document for your reference. Hope it helps.

    Combine files (binaries) in Power BI Desktop - Power BI | Microsoft Learn

     

                                                                                                                                                             

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Gems ,

     

    You can try to combine them.

    To combine binary files in Power Query Editor, select Content (the first column label) and choose Home > Combine Files. Or you can just select the Combine Files icon next to Content.

    Below is the official document for your reference. Hope it helps.

    Combine files (binaries) in Power BI Desktop - Power BI | Microsoft Learn

     

                                                                                                                                                             

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.