Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
OKgo
Helper IV
Helper IV

Merging CSV files beneath each other with no matching columns

The windows run command has a wonderful way to stick together multiple CSV files.

http://www.tomnash.eu/how-to-combine-multiple-csv-files-into-one-using-cmd

 

Is there any way to mimic this in PowerBi? The merge and append features (to me) appear to require matching columns. My CSV files have no matching columns.

 

File1.csv

HeaderRow1 + 100 rows

 

File2.csv

HeaderRow2 + 50 rows

 

Merge.csv

HeaderRow1 + 100 rows + HeaderRow2 + 50 rows (252 rows total)

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@OKgo,

 

You may use Append Queries (Table.Combine) in Query Editor or UNION Function in DAX.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-chuncz-msft Thank you for commenting.

 

I am afriad my data does not meet this requiremetn for Table.Combine "The tables must all have the same row type structure"

 

Nor "The two tables must have the same number of columns" for the DAX solution.

 

Here is a screen shot of 4 CSVs pasted together. Colmn A denotes which CSV they came from. They have no columns in common.

 

merge.PNG

 

 

Bump!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.