Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Filter gallery to show only the ID's with the highest value

(2) ShareShare
ReportReport
Posted on by 1
Hi all,
 
I am admittedly very new to Power Apps, so I apologize if the answer is fairly straightforward and I've missed it.
 
I have a dataset with a search function for the "ID Number". I'm trying to filter it to the most recent entry via a variable called "Run Number". I want my gallery to only show only the IDs with the the highest run number and my search function to also be based off this filtered data. Here is a visualization to make it more clear.
 
The complete table:
 
The data that I want to pull:
 
What I want the gallery to visually show and search from;
 
The function I have currently is
Search('Example', textInput.Text, "ID Number")
and it's obviously showing every row like in image 1 but I want it to look like image 3 and for that table to be the one that is searchable.
 
Any help is appreciated, thanks!
  • nvrhughes Profile Picture
    nvrhughes 85 on at
    Filter gallery to show only the ID's with the highest value
    You can also add a Sort function to your filter.
  • ANB Profile Picture
    ANB 7,060 on at
    Filter gallery to show only the ID's with the highest value
     
    Try this:
     
    Search(Filter('Example', 'Run Number' >3),textInput.Text, "ID Number"))
     

    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.


    Thanks,
    ANB

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard