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

Notifications

Announcements

Community site session details

Community site session details

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard