Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Query
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?

  • Verified answer
    dwan3 Profile Picture
    9 on at
    Re: Excel Power Query - Merge Two Columns with same timestamp

    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Query

#1
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

#2
SD-13050734-0 Profile Picture

SD-13050734-0 6

#3
Jon Unzueta Profile Picture

Jon Unzueta 2

Overall leaderboard

Featured topics