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 / Comparing two array va...
Power Automate
Answered

Comparing two array values and printing the missing one

(0) ShareShare
ReportReport
Posted on by 27

Hi,

 

I am building a flow where I am listing down rows of two different tables. 

I have filtered one table named 'login details' (contains 2 columns, LoggedinDate & DeveloperName - email id of developer) using 'Filter array' operation, where it stores the unique 'email id' column data of the users who have entered data for today (Example - on 2nd May, 5 unique people entered) - lets call this array1.

From the second table, I have selected only the 'email Ids' column - EID, using 'Select' Operation. lets call this array2.

 

Now, I want to compare array1(having 2 properties - LoggedinDate & Email Id) and array2 (only 1 property - email id)

& find out which 'email Ids' are missing in array1 & then print it.  

 

How do I do that? Below is the flow I have created & screenshot of both arrays. Kindly help in suggesting the next step.

 

Regards,

 

Ashish2605_0-1683055654519.png

Ashish2605_1-1683055892763.pngAshish2605_2-1683055999102.png

 

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Ashish2605 ,

     

    I made a sample for you.

    vxiaochenmsft_0-1683083254684.png

    vxiaochenmsft_1-1683083300578.png

    vxiaochenmsft_2-1683083321786.png

    vxiaochenmsft_3-1683083350973.png

     

    Best Regards,

    Wearsky

  • Ashish2605 Profile Picture
    27 on at

    Hi @v-xiaochen-msft ,

     

    I tried your solution. However, it is printing all the elements in array2. It is not filtering out values which are missing in array1, i.e., not filtering out "D" as per your solution.

     

    Could you check ??

     

    Regards,

  • Verified answer
    Paulie78 Profile Picture
    8,424 Moderator on at

    Try this method:

     

    FilterEmails.jpg

     

    Full Image Link 

     

    See how you get on.

     

    Blog: tachytelic.net

    YouTube: https://www.youtube.com/c/PaulieM/videos

    If I answered your question, please accept it as a solution 😘

  • Verified answer
    Ashish2605 Profile Picture
    27 on at

    Hi @Paulie78 ,

     

    I implemented your solution but modified a tiny element. Somehow I realized, if we keep the property name as 'EID' for both arrays, it will work correctly and it did 😛 

     

    Thanks for your suggestion! 

     

    Best Regards,

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard