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 / Collect N:N Data in Fo...
Power Apps
Answered

Collect N:N Data in ForAll Delegation

(0) ShareShare
ReportReport
Posted on by 559

Hi Experts,

 

I am trying to collects all CostID's Related to all Payments (N:N Dataverse Relation) in a collection. I am trying formula below But this gives Delegation warnings. How would I get the same result and make it delegable?

ForAll(
 colPayments As C,
 ForAll(
 C.'Costs' As D,
 Collect(
 colCosts,
 {CostID: D.'Cost'}
 )
 )
)

 Best Regards,

Anthony

Categories:
I have the same question (0)
  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Anthony_Dob You would be getting the following warning,

    CNT_0-1645131237781.png

    This is not a delegation warning. This is just to warn that this may incur lots of calls to the datasource.

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard