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 Apps / Remove an item from a ...
Power Apps
Answered

Remove an item from a list (array). Get items in a list minus those in another one

(0) ShareShare
ReportReport
Posted on by 38

Greetings, 

My problem is quite simple but I can't find how to make it work with powerfx's pseudo code, here it is:
I have a list of emails (variable type array) (["email1", "email2", "emailX"] and a loop which sends an evaluation (adaptive card) to each emails on teams.
So far so good. But I need to have a list of emails of the people who didn't complete their evaluation yet!
I can easily have a list of completed emails by appending them to a new varialble (emails completed) inside the loop, but I can't wrap my head around the bloddy opposite.
There is an "append" function but no delete, there is an "intersection" function but no opposite, there is a "filter array" function, but I don't have any key to use.

Am I missing something? Because that can't be that hard right? Anyone could write that in code in a jiffy...
Perhaps there is a way to use "filter array" without having keys? Just in case I wasn't clear I'll join the test flow to my post. The filter and select that I tried do not work in the example.
Every bit of help would be appreciated

screencapture-make-powerautomate-environments-Default-a40fe4ba-abc7-48fe-8792-b43889936400-flows.png
Categories:
  • Verified answer
    Tristan_Benoit Profile Picture
    38 on at

    It is possible to use a SELECT to create an output of the initial list with the 'email' attribute to it.

    Only after that it is possible to use FILTER ARRAY.
    Here is the complete flow, hoping that it may help someone else:

    screencapture-make-powerautomate-environments-Default-a40fe4ba-abc7-48fe-8792-b43889936400-flows-403c26fc-4859-4138-bd6b-6473da1b1494-2023-07-17-16_00_34.png

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 Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard