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
Mohammed-
Resolver I
Resolver I

Merge Column

Hi

  Please need help for merge 2 column in the same table to create a ne culomn

  the new column should be include the following

       2004-01

       2004-02

       2004-03

      2004- 04

 

 

 

 

Mohammed_0-1725234794202.png

 

Thanks

  Mohammed

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Mohammed- ,

I create a table as you mentioned in Data Factory.

vyilongmsft_0-1725239185605.png

Then I think you can create a custom column.

vyilongmsft_0-1725239667647.png

Custom = Text.From([Year]) & "-" & Text.PadStart(Text.From([Mon]), 2, "0")

vyilongmsft_1-1725239724770.png

vyilongmsft_2-1725239771726.png

 

 

 

Best Regards

Yilong Zhou

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

Dir Sir,

   Thanks for your Replay

   I used your Formula

     

Table.AddColumn(#"Sorted rows", "Custom", each Text.From([Year]) & "-" & Text.PadStart(Text.From([Mon]), 2, "0"))
it is working fine with me
This is the result after some trasnformation
Thanks Again
 
Mohammed_0-1725292432179.png

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Mohammed- ,

I create a table as you mentioned in Data Factory.

vyilongmsft_0-1725239185605.png

Then I think you can create a custom column.

vyilongmsft_0-1725239667647.png

Custom = Text.From([Year]) & "-" & Text.PadStart(Text.From([Mon]), 2, "0")

vyilongmsft_1-1725239724770.png

vyilongmsft_2-1725239771726.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Dir Sir,

   Thanks for your Replay

   I used your Formula

     

Table.AddColumn(#"Sorted rows", "Custom", each Text.From([Year]) & "-" & Text.PadStart(Text.From([Mon]), 2, "0"))
it is working fine with me
This is the result after some trasnformation
Thanks Again
 
Mohammed_0-1725292432179.png

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric 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.