web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Find all the values in...
Power Apps
Unanswered

Find all the values in a collection Power Apps

(0) ShareShare
ReportReport
Posted on by 431

Hello Everyone,

 

I have a collection that consists of multiple values in it. Just one column with name "Value". I was able to get the first value using First(Collection).Value.

 

Looking for some help on how to get the 4th and 5th value? I would like to set a variable based on each value inside in collection.

 

Can anyone please help!

 

Thank you so much in advance!

Categories:
I have the same question (0)
  • TuongDoan Profile Picture
    573 Moderator on at

    Use Index(Collection, 4) to retrieve 4th record 

     

    ---------------------------

    If the solution I provided assisted you in resolving this issue, kindly select "Accept as solution" This will help others in finding the solution more expediently 😄Also, a Thumbs upwould be a great compliment!

     

  • Verified answer
    Gochix Profile Picture
    1,935 Moderator on at

    @KrishR ,

    Looking for some help on how to get the 4th and 5th value? I would like to set a variable based on each value inside in collection.

    Last(FirstN(Collection.Value, 5)).Value


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

     

  • AsherNg1990 Profile Picture
    41 on at

    I just wonder if the accepted answer of @Gochix  is faster than @TuongDoan's solution. Is there a performance difference between these options?

     

    I have a similar question about the difference between using Lookup() versus First(Filter())). Could someone enlighten me on which approach is the most efficient and reliable?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 840 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 275

Last 30 days Overall leaderboard