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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
lukeguy12
Regular Visitor

Creating new table that merges mulitple date columns into multiple rows instead

Hello!

I'm working with a dataset that includes the below:

AddressDate 1Date 2Date 3Date 4
Fake Street, London01/01/202405/06/2022  
Real Street, Norwich05/05/202305/01/202101/01/2020 

To make working with dates easier, I want to create a new table which basically transposes the multiple date columns into multiple rows. So for example, my new table would look like the below:

AddressDate
Fake Street, London01/01/2024
Fake Street, London05/06/2022
Real Street, Norwich05/05/2023
Real Street, Norwich05/01/2021
Real Street, Norwich01/01/2020

Struggling to acheive this in the Desktop app and would appreciate any help. The dataset is tricky but it can't be changed without impacting the team's workflow and i'd rather not do that.

Thanks!

1 ACCEPTED SOLUTION
MNedix
Super User
Super User

Hi,

If you unpivot the other columns like in the screenshot below you will get the desired result.

 

If this answers your question then please mark it as the solution so others can see it.

transpose_2.jpgtranspose_3.jpg



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,

View solution in original post

4 REPLIES 4
MNedix
Super User
Super User

Well, one way to do it is first to duplicate your table in Power Query (rightclick on table -> Duplicate), then unpivot, then delete the columns you're not interested in.



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,
MNedix
Super User
Super User

Hi,

If you unpivot the other columns like in the screenshot below you will get the desired result.

 

If this answers your question then please mark it as the solution so others can see it.

transpose_2.jpgtranspose_3.jpg



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,

Thank you for the quick reply! This gets me closer but having issue only having the values I need in the resulting columns. The other columns in the dataset are being included too. Any ideas?

 

Update: nevermind, solved it.

 

for those with similar issue, I simply did the following:

 

Transform Data > right click table > Reference > Removed all other columns in reference table > did the unpivot solution as suggested here.

That works too 🙂



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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