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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
bsouza
New Member

Copy carachteres from one column to other customized column

Hi,

 

I have a column with several carachteres wich came from a .txt file. There are about 250 carachteres for each line in the first colum. Is there a way to create customized columns with just a specific carachteres from this first column?

i.e.

 

Column1(from a .txt file)                  Column2(customized)        Column3(customized)         Column4(customized)

ABCDEFGHIJKLMN                            ABC                                     DEFGH                                 IJKLMN

 

 

Hope it is clear.

Thanks!

2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@bsouza

 

Is this what you want? Hope this is helpful. Thanks

 

Column = LEFT(Table2[Column1],3)
Column 2 = MID(Table2[Column1],4,5)
Column 3 = MID(Table2[Column1],10,6)

c1.JPG

 





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

Proud to be a Super User!




View solution in original post

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @bsouza,

 

The solution of @ryan_mayu should be helpful which use dax expression to create the calcualted column.

 

In addition, you could achieve your desired output in query editor by spliting column which is custom column.

 

split column.PNG

 

You also could refer to the attachment.

 

Hope this can help you either!

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @bsouza,

 

The solution of @ryan_mayu should be helpful which use dax expression to create the calcualted column.

 

In addition, you could achieve your desired output in query editor by spliting column which is custom column.

 

split column.PNG

 

You also could refer to the attachment.

 

Hope this can help you either!

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ryan_mayu
Super User
Super User

@bsouza

 

Is this what you want? Hope this is helpful. Thanks

 

Column = LEFT(Table2[Column1],3)
Column 2 = MID(Table2[Column1],4,5)
Column 3 = MID(Table2[Column1],10,6)

c1.JPG

 





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

Proud to be a Super User!




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Solution Authors