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 / Is there a better way ...
Power Apps
Unanswered

Is there a better way to compare two tables (to replace MS Excel VLOOKUPS all day)?

(0) ShareShare
ReportReport
Posted on by

Hello,

I am working on a project to automate some audits. I’m new to PowerApps, Flow, and Common Data Service so I’m not sure this idea would even work but figured I would throw it out there and see if any of you could point me in the right direction.

 

Vendor File

Each Friday the vendor emails a .xlsx file containing the benefit deduction amounts that should be deducted from each associate’s paycheck.

EmployeeNo

Paycode

Amount

Date

A123

QRS

21.2

6/7/2019

B123

TUV

100

6/7/2019

C123

LMN

12

6/7/2019

D123

LMN

12

6/7/2019

 

Internal File

The file is loaded into our system and a report (again .xlsx format) is generated prior to checks being cut.

EmployeeNo

Paycode

Amount

Date

A123

QRS

21.2

6/7/2019

B123

TUV

100

6/7/2019

C123

LMN

12

6/7/2019

E123

AAA

5.1

6/7/2019

F123

LMN

1000

6/7/2019

 

I need to compare these two files to make sure each row matches. In the example above, I would need to know that Employee E123 was loaded into the internal system but has the wrong amount (currently 5.1, should be 12). I would also need to know that Employee F123 is in the internal system with an amount of 1000 – but was not included in the vendor file.

 

Here is my rough plan – Please let me know if this would work…..or if you have a better idea/way to get this done.

  • Have all of the files emailed to a shared email box
  • Use Flow to identify these emails based on subject line. The Flow would then copy the attached .xlsx file to a Document Library on a SharePoint site.
  • Set up Flow triggered by a new file being added to SharePoint to load the file into a CDS entity
  • Figure out how to Join (or Compare) the Vendor Entity to the Internal Entity. These records would be added to a Errors Entity
  • Use Flow to email out a .xlsx file with the errors that need to be reviewed.
  • Use the results from these audits (or entity comparisons) to update a PowerBI dashboard so leadership can see the audits are being completed.

I had also considered making this into PowerApp but am a bit unclear on how many Plan 2 licensees we would need to purchase to use that solution.

Any ideas or feedback would be greatly appreciated!

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,404 Most Valuable Professional on at

    Hi @TheRealBrenton,

     

    First of all, interesting scenario Smiley Happy

     

    I would simplify the first two steps by creating a Microsoft Team. If you do that you will get an e-mailaddress per channel and the attachment will be uploaded automatically to a document library folder called e-mail messages in the connected SharePoint site of the Microsoft Team.

     

    Hope this helps a bit.

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
Kalathiya Profile Picture

Kalathiya 401

#2
WarrenBelz Profile Picture

WarrenBelz 334 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 325 Super User 2025 Season 2

Last 30 days Overall leaderboard