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 / What is wrong with thi...
Power Apps
Unanswered

What is wrong with this ClearCollect with a Filter

(0) ShareShare
ReportReport
Posted on by 106

Hi

 

Can anyone tell me what is wrong with this:

ClearCollect(colADUsers,(Filter(Office365Groups.ListGroups().value,StartsWith(Text(displayName), "DL"))));

 

I first made the filter (works fine): Filter(Office365Groups.ListGroups().value, StartsWith(Text(displayName), "DL"))

Then I tried to put it in a Collect/ClearCollect, but I can't get it to work.

 

I'm not sure if this is the right way to do it, but with the filter I find all the groups that the user belongs to, if the group starts with DL, then I want to make a collection of those groups and I would like to end up with that I'm able to get a list of all the users in the groups that start with DL, too which my user also belongs.

 

Regards.

Categories:
  • Rene_Newbee Profile Picture
    106 on at

    Closed

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard