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

Fabric Data Days Monthly is back. Join us on March 26th for two expert-led sessions on 1) Getting Started with Fabric IQ and 2) Mapping & Spacial Analytics in Fabric. 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Fabric Update Carousel

Fabric Monthly Update - February 2026

Check out the February 2026 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.

Top Solution Authors
Top Kudoed Authors