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 / Filter rows for gallery
Power Apps
Answered

Filter rows for gallery

(0) ShareShare
ReportReport
Posted on by 59

Hi, 

 

How would I get certain Rows from my Excel Spreadsheet to appear in my Gallery. For example, in this case I would like to extract only rows 102-104 from my Excel Spreadsheet into my PowerApps Gallery. How would I do that? Thanks.

Screenshot (76).png

Categories:
  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Is this something you want to do with a formula?  For example, its ALWAYS rows 102-104 and can be coded as such.  OR do you want some kind of input where the user selects what to filter?

  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @kendall1 

     

    Please use this formula in the Items property of your gallery:

    LastN(FirstN(TableName,104),3)

     

    Best Regards,

    Levi

  • kendall1 Profile Picture
    59 on at

    Hi Levi,

     

    Thanks this was very helpful as a solution. Best, Kendall

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard