Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I have Text files with multiple segments with headings. For example General Value, List of Stops, List of Events etc. Pls check attached file.
1. is there a way to seperate every segmement from each file and append them in seperate files?
For example lets say I have 10 TXT files , each File has segemtns and I want to extract similar segments from each TXT file and combine in Excel format. Hope it is clearly explained. If not please let me know and will try to add few more images. Thanks
All above are in one Text file
Use the SharePoint folder connector if you're trying to combine files. These look like tab-delimited text files, so I would try splitting on tab and see if that does it.
Hi @mwm39
I don't work with text files that much, but I think Power BI splits everything into columns by delimiter. Here would be my work around, there is probably better resolutions.
As the data looks quite different in each segment, I would consider splitting these into four seperate queries.
if this will an onrunning process and the name of the segments wont change going forward. Please save the file and and future files to a shared SharePoint folder(No personal folders, if you leave it's difficult for people to get access to a personal folder).
Later when you add the other Text files to the SharePoint list, Power BI will automatically transform the files.
Thanks
Joe
If this post helps, then please Accept it as the solution
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
6 | |
5 | |
5 | |
5 |
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
6 |