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
Organize your inbox - Microsoft Support
FNILX - Fidelity ZERO ® Large Cap Index Fund
Kostner Wingback Bed
Menards Thermal Fuse
Express Pay Cspire
122242843 Routing Number BANK OF THE WEST CA - Wise
Pnct Terminal Camera
Pga Scores Cbs
Aadya Bazaar
Poe Pohx Profile
Optimal Perks Rs3
Buckaroo Blog
Goldsboro Daily News Obituaries
Winterset Rants And Raves
Gfs Rivergate
UEQ - User Experience Questionnaire: UX Testing schnell und einfach
Learn2Serve Tabc Answers
Mbta Commuter Rail Lowell Line Schedule
Connect U Of M Dearborn
Xxn Abbreviation List 2023
Fraction Button On Ti-84 Plus Ce
Shasta County Most Wanted 2022
CANNABIS ONLINE DISPENSARY Promo Code — $100 Off 2024
Booknet.com Contract Marriage 2
Accident On The 210 Freeway Today
Dragger Games For The Brain
Wics News Springfield Il
Encyclopaedia Metallum - WikiMili, The Best Wikipedia Reader
Panola County Busted Newspaper
Hefkervelt Blog
Cornedbeefapproved
How do you get noble pursuit?
Grave Digger Wynncraft
Shiny Flower Belinda
Xxn Abbreviation List 2023
Elanco Rebates.com 2022
Gus Floribama Shore Drugs
Life Insurance Policies | New York Life
Grand Teton Pellet Stove Control Board
Elanco Rebates.com 2022
Mgm Virtual Roster Login
Does Iherb Accept Ebt
How to Destroy Rule 34
Go Smiles Herndon Reviews
Smith And Wesson Nra Instructor Discount
Tiny Pains When Giving Blood Nyt Crossword
2008 DODGE RAM diesel for sale - Gladstone, OR - craigslist
Evil Dead Rise (2023) | Film, Trailer, Kritik
Mychart Mercy Health Paducah
Hsi Delphi Forum
Dmv Kiosk Bakersfield
Cool Math Games Bucketball
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.