web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Excel Power Query - Me...
Power Apps
Answered

Excel Power Query - Merge Two Columns with same timestamp

(0) ShareShare
ReportReport
Posted on by 9

Hi

 

I'm trying to merge two columns of data together in Excel's power query editor. Both of them came from separate csv files.

 

So far, I have the following result. 

 

TimestampValue1Value2
01-Jun-24 12:00 AM PDT14.76 
01-Jun-24 12:00 AM PDT 13.82
01-Jun-24 12:15 AM PDT15.13 
01-Jun-24 12:15 AM PDT 13.43
01-Jun-24 12:30 AM PDT15.04 
01-Jun-24 12:30 AM PDT 13.54
01-Jun-24 12:45 AM PDT15.09 
01-Jun-24 12:45 AM PDT 13.73

 

Eventually, I would like to have convert the above into the table below (if same timestamp as Value 1, "merge" together into a single row.)

TimestampValue1Value2
01-Jun-24 12:00 AM PDT14.7613.82
01-Jun-24 12:15 AM PDT15.1313.43
01-Jun-24 12:30 AM PDT15.0413.54
01-Jun-24 12:45 AM PDT15.0913.73

 

What's the best way to go about this in power query editor?

Categories:
I have the same question (0)
  • Verified answer
    dwan3 Profile Picture
    9 on at

    It looks like I was able to solve it using a combination of unpivoting columns and pivoting them in power query.

     

    Attributing Ashish Matur's post as power query code source

     

    I will close this as it is solved.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard