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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Jeanxyz
Power Participant
Power Participant

power query: split text by delimter stop working after certain number of words

I want to split text in field Work Desc by 

#split= Table.SplitColumn(#"Trimmed Text", "Work Description", Splitter.SplitTextByAnyDelimiter({" ",";",":",",","/", "#(tab)","@","."}, QuoteStyle.Csv))

 

I notice the split stops after certain words (in image, line 8, split stops after the word "by"). If I filter in line 7 and run the same split code, it seems to work correctly. Is there a bug in M query splitcolumn function?

 

split.PNG

 

1 ACCEPTED SOLUTION
Jeanxyz
Power Participant
Power Participant

problem solved. Here is the video:  #"Split Column by Delimiter" = Table.TransformColumns(#"Trimmed Text", {"Work Description", Splitter.SplitTextByAnyDelimiter({" ",";",":",",","/", "#(tab)","@","."})}),

help video: https://www.youtube.com/watch?v=bKkXxbOnqxA

 

View solution in original post

1 REPLY 1
Jeanxyz
Power Participant
Power Participant

problem solved. Here is the video:  #"Split Column by Delimiter" = Table.TransformColumns(#"Trimmed Text", {"Work Description", Splitter.SplitTextByAnyDelimiter({" ",";",":",",","/", "#(tab)","@","."})}),

help video: https://www.youtube.com/watch?v=bKkXxbOnqxA

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.