cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sprengel
New Member

Remove items from one array using 2 other arrays

hey everybody,

 

i have three arrays:

 

arraygroupmembers(userID): all members of one group

arrayallwaysmembers(userID): all members that should allways remain in that group

arrayshiftmembers(userID): all members that are in a shift active right now

 

I need to remove all groupmembers that are not in arrayallwaysmembers and that are not in arrayshiftmembers.

 

Like arraygroupmembers - arrayallwaysmembers - arrayshiftmembers = arrayremovemembers

 

I tried to find some how to / videos or posts but cannot find anything that helps. Maybe my english is too bad. I just started using power automate. 

1 ACCEPTED SOLUTION

Accepted Solutions
ChristianAbata
Super User
Super User

@Sprengel  you are right here are the references for PA 

Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs 

Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

3 REPLIES 3
ChristianAbata
Super User
Super User

hi @Sprengel  I think what you need is apply distinct expression

 

Distinct function - Power Apps | Microsoft Docs



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Hello Christian,

 

are you sure this is for power automate / flow?

 

I only find it for power apps

ChristianAbata
Super User
Super User

@Sprengel  you are right here are the references for PA 

Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs 

Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (5,461)