Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Query
Unanswered

Comparing the versions of two tables

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

 

I have two versions of an Excel table that I want to compare head-to-head via Power Query merge full outer. The result I would like to get is  the following:

 

Table 1  Table 2  Mergedtable 
Indexcode line Indexcode line Indexcode line.table 1code line.table 2
C2A3a=3 C2A3a=3 C2A3a=3a=3
E2R4b=4 2W2Wc=a+b E2R4b=4-
2W2Wc=a+b 9LW2print a 2W2Wc=a+bc=a+b
9LW2print c TR45c=c+1 9LW2print cprint a
      TR45-c=c+1

I know how to do a full outer merge (based on the index column), but I would like to keep the original order of code lines. If I do this with power query, then the rows are not exactly in this order anymore. The goal for me is to see which lines have been removed (E2R4), which lines have been updated (9LW2), and which lines have been added (TR45).

 

Does anyone know a good solution in Power Query? Thanks in advance

  • Ruud14 Profile Picture
    2 on at
    Re: Comparing the versions of two tables

    Looks like this is a really challenging question....

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