Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Help trying to resolve a collection issue

(0) ShareShare
ReportReport
Posted on by 251

Hi all, 

 

I've been stuck on this issue for ages, basically i need to collect all results from certain gallery labels and add them to a collection. so far i can only get it to collect the first result. The main issue is the miles result in my gallery doesn't pull from a column in my data set but is a measurement from two variables. is there a way to collect subtitle1 and title1 from all results in my gallery and add them to a collection table

 

hopefully the below image helps

 

jsmith87_0-1687461738105.png

 

 

  • turnerj3 Profile Picture
    2,039 on at
    Re: Help trying to resolve a collection issue

    @jsmith87 ,

    Try this, you need to use ForAll on your Gallery to get All items.

    And ClearCollect for some reason can't be used inside a ForAll.

     

    Clear(Data);
    ForAll(Gallery4.AllItems, Collect(Data,{Name:Subtitle1.Text,Miles:Title1.Text}))

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1