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 Automate / Left Anti-Join (Subtra...
Power Automate
Answered

Left Anti-Join (Subtracting rows) from two Spreadsheets or Data Tables?

(1) ShareShare
ReportReport
Posted on by 8
I am new to power automate (this is my first project), so forgive me if I am missing an easy solution. I am using power automate desktop and I have powerfx enabled. 
 
I am trying to automate a transaction reconciliation process between two export spreadsheets at work. So far I have used power automate to:
  1. Normalize transaction IDs (leading zeroes) between a commercecloud export spreadsheet and a CRM export spreadsheet. 
  2. Identify, highlight, and zero out duplicate records in the CRM export spreadsheet.
  3. Calculate sums and have them write to a third reconciliation spreadsheet where a variance is calculated. 
  4. Subtract the transaction ID columns of the Commercecloud and CRM spreadsheets using the subtract lists action. This identifies 'unposted' transaction IDs which were processed by commerce cloud but are missing in our CRM. 
I am unhappy with the current state of step 4. It only identifies the transaction IDs of unposted transactions, and while I can write these values to a spreadsheet, analysts still have to open the commerce cloud spreadsheet to hunt down the full row data listed for these IDs. 
 
It would be a gamechanger if I could:
  1. Subtract the CRM spreadsheet rows from the Commerce Cloud spreadsheet based on the values of only the transaction ID columns of each spreadsheet. Then write the remaining 'unposted' rows to a spreadsheet where an analyst can review them directly.
For Example:
Commerce cloud
000123 John Smith
000321
Jane Smith
000213 John Doe
 
CRM 
000123 $25
000321 $17
 
Unposted (Commerce Cloud - CRM)
000213 John Doe
 
 
Is there a way to do this? I feel like I have tried a million different ways and I keep running into syntax errors with loops and expressions. 
 
 
I have the same question (0)
  • Verified answer
    eetuRobo Profile Picture
    4,565 Super User 2026 Season 1 on at
    For whatever reason I cant seem to be able to build condition that checks if value is in a table. So had to use Filter data table. Full flow:


    Filter action:


    Result of unposted:


    It was much easier to do in regular PAD flow so I recommend you switch to that instead of using Power Fx.
  • CR-19021756-0 Profile Picture
    8 on at
    This solved it! Thanks so much!
     
    And thank you for the advice regarding PowerFx. I chose it for my first power automate project and quickly learned how difficult it can make things.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard