The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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)
You may use Append Queries (Table.Combine) in Query Editor or UNION Function in DAX.
@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.
Bump!
User | Count |
---|---|
60 | |
55 | |
53 | |
49 | |
30 |
User | Count |
---|---|
179 | |
87 | |
71 | |
48 | |
46 |