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
strikw
Helper I
Helper I

Split columns in data extraction using fixed width ???

Hello

 

I need to import a document and separate it into columns by a certain number of characters, you have to do this in the Split option, however I have to do one by one, have any way to do this for several different sizes?

 

Example: Split table in 2 characters, after what is left of the Splip table in the 5 character, then in 10, then in 20 ...

In the excell I know that has this function of separator by fixed limit, if someone knows how to do in BI help me.

 

Thank you.

1 ACCEPTED SOLUTION
LivioLanzo
Solution Sage
Solution Sage

@strikw

 

This can be accomplished in Power Query. When using the Table.SplitColumn function, for the argument called 'splitter', you can pass this other function which accepts a list of lengths

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

View solution in original post

1 REPLY 1
LivioLanzo
Solution Sage
Solution Sage

@strikw

 

This can be accomplished in Power Query. When using the Table.SplitColumn function, for the argument called 'splitter', you can pass this other function which accepts a list of lengths

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

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.