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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.