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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Bartbobbrt
New Member

Query for multiple txt files with all data in one column

Using PAD I can extract data from docx to txt files, because later I want to build a database from that.

All txt files have data in multiple lines in one column. The problem is, Power Query combines data and I when I transpose it, it creates one record instead of many. Each txt file should be a record.

 

Is there a way to split the data between each file into different row?

 

 

Thanks

Capture.PNG

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Bartbobbrt ,

 

What is your expected result? You can provide the expected result and I will try my best to help you.

 

 

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.

Vera_33
Resident Rockstar
Resident Rockstar

Hi @Bartbobbrt 

 

How do you read the txt files? In a folder? Can you add a custom column to transpose prior to combine the tables? Removed all the other columns to see it clearly

Vera_33_0-1626680171482.png

 

 Table.AddColumn(#"Removed Columns", "Custom", each Table.Transpose( Table.FromColumns({Lines.FromBinary(([Content]), null, null, 65001)})))

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors