Combine files (binaries) in Power BI Desktop - Power BI (2024)

  • Article

Here's a powerful approach to importing data into Power BI Desktop: If you have multiple files that have the same schema, combine them into a single logical table. This popular technique has been made more convenient and more expansive.

To start the process of combining files from the same folder, select Get data, choose File > Folder, and then select Connect.

Combine files (binaries) in Power BI Desktop - Power BI (1)

Enter the folder path, select OK, and then choose Transform data to see the folder's files in Power Query Editor.

Combine files behavior

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.

Combine files (binaries) in Power BI Desktop - Power BI (2)

The combine files transform behaves as follows:

  • The combine files transform analyzes each input file to determine the correct file format to use, such as text, Excel workbook, or JSON file.
  • The transform allows you to select a specific object from the first file, such as an Excel workbook, to extract.

Combine files (binaries) in Power BI Desktop - Power BI (3)

  • The combine files transform then automatically takes these actions:

    • Creates an example query that performs all the required extraction steps in a single file.

    • Creates a function query that parameterizes the file/binary input to the exemplar query. The exemplar query and the function query are linked, so that changes to the exemplar query are reflected in the function query.

    • Applies the function query to the original query with input binaries, such as the Folder query. It applies the function query for binary inputs on each row, then expands the resulting data extraction as top-level columns.

      Combine files (binaries) in Power BI Desktop - Power BI (4)

Note

The scope of your selection in an Excel workbook will affect the behavior of combine binaries. For example, you can select a specific worksheet to combine that worksheet, or choose the root to combine the full file. Selecting a folder combines the files found in that folder.

With the behavior of combine files, you can easily combine all files within a given folder if they have the same file type and structure (such as the same columns).

Also you can easily apply more transformation or extraction steps by modifying the automatically created exemplar query, without having to worry about modifying or creating other function query steps. Any changes to the exemplar query are automatically generated in the linked function query.

Related content

You can connect to all sorts of data by using Power BI Desktop. For more information on data sources, see the following resources:

Combine files (binaries) in Power BI Desktop - Power BI (2024)
Top Articles
COVID-19 Relief and Assistance for Small Business
5 Things to Know About the Tomo Card - NerdWallet
1970 Chevrolet Chevelle SS - Skyway Classics
The Daily News Leader from Staunton, Virginia
What Are the Best Cal State Schools? | BestColleges
Mcfarland Usa 123Movies
Mohawkind Docagent
Think Of As Similar Crossword
7543460065
Encore Atlanta Cheer Competition
Xm Tennis Channel
Natureza e Qualidade de Produtos - Gestão da Qualidade
Uvalde Topic
Gina's Pizza Port Charlotte Fl
fltimes.com | Finger Lakes Times
Nexus Crossword Puzzle Solver
What Is Njvpdi
Jackson Stevens Global
National Weather Service Denver Co Forecast
Costco Gas Foster City
Prestige Home Designs By American Furniture Galleries
The best TV and film to watch this week - A Very Royal Scandal to Tulsa King
Richland Ecampus
Nhl Tankathon Mock Draft
Amih Stocktwits
Https Paperlesspay Talx Com Boydgaming
Masterkyngmash
Pirates Of The Caribbean 1 123Movies
About My Father Showtimes Near Copper Creek 9
Netwerk van %naam%, analyse van %nb_relaties% relaties
Impact-Messung für bessere Ergebnisse « impact investing magazin
Speedstepper
FAQ's - KidCheck
How do you get noble pursuit?
Craigslist Brandon Vt
Grave Digger Wynncraft
100 Gorgeous Princess Names: With Inspiring Meanings
Core Relief Texas
Southtown 101 Menu
Sinai Sdn 2023
Rvtrader Com Florida
Mg Char Grill
Reli Stocktwits
PA lawmakers push to restore Medicaid dental benefits for adults
Pinellas Fire Active Calls
Frcp 47
How are you feeling? Vocabulary & expressions to answer this common question!
Unlock The Secrets Of "Skip The Game" Greensboro North Carolina
Scythe Banned Combos
Gt500 Forums
Rite Aid | Employee Benefits | Login / Register | Benefits Account Manager
Zalog Forum
Latest Posts
Article information

Author: Tyson Zemlak

Last Updated:

Views: 5964

Rating: 4.2 / 5 (63 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Tyson Zemlak

Birthday: 1992-03-17

Address: Apt. 662 96191 Quigley Dam, Kubview, MA 42013

Phone: +441678032891

Job: Community-Services Orchestrator

Hobby: Coffee roasting, Calligraphy, Metalworking, Fashion, Vehicle restoration, Shopping, Photography

Introduction: My name is Tyson Zemlak, I am a excited, light, sparkling, super, open, fair, magnificent person who loves writing and wants to share my knowledge and understanding with you.