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 Automate / Removing muliple items...
Power Automate
Answered

Removing muliple items from array based on matching criteria

(0) ShareShare
ReportReport
Posted on by 195

Hi All,

 

I have 2 arrays, A1 and A1 and in that I have have emails.

A1

[
"john.way@X.com",
"test.user2@X.com",
"test@X.com"
]

 

 

A2 =

[
"john.way@X.com",
"test@X.com"
]

 

Now I want to remove items which are present in A2 from A1 so the output will be 

[
"test.user2@X.com"
]

 

 

How do I do this?

Categories:
I have the same question (0)
  • Verified answer
    v-yetonggu-msft Profile Picture
    on at

    Hi @swaminawale ,

    I did a test for your reference.

    In my scenario:

    vyetonggumsft_0-1712558493116.pngvyetonggumsft_1-1712558565502.png

    item()

    vyetonggumsft_4-1712558646458.png

    length(body('Filter_array'))

    Best Regards,

    Sunshine Gu

     

  • swaminawale Profile Picture
    195 on at

    Thanks @v-yetonggu-msft 

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard