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
skai
Frequent Visitor

Trouble with creating columns from text file using delimeter (|)

I am trying to create dataflows from text files generated from SAP, each column is split by |. I have tried importing the data and spliting by delimter based on first 200 rows however some rows do not split correctly and merge with others. I have also tried importing as a single column and then insertin step to split however same issue. Any advice would be welcome, some of these files have 50000 

power querypower query

 

text filetext file

1 REPLY 1
Anonymous
Not applicable

Hi @skai 

 

Can you please provide some dummy data or dummy data file that can reproduce this behavior? We need the data for testing. 

 

Besides, from the screenshot of the text file, it seems the columns are aligned vertically. Is it possible to split the column by fixed width?

vjingzhanmsft_0-1709260417586.png

 

Or you may try replacing QuoteStyle.Csv with QuoteStyle.None when splitting a column?

Splitter.SplitTextByDelimiter("|", QuoteStyle.None)

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Helpful resources

Announcements
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
Users online (5,921)