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 II
Super User II

@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 II
Super User II

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 II
Super User II

@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

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (40,672)