Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Display Form not updating Data from Filtered Gallery

(0) ShareShare
ReportReport
Posted on by 19

So I have a gallery that has the following filter so it can be used with search bar

 

 

Filter(AddColumns(Table2, "ColumnName",'Column Name'),
 StartsWith(ColumnName, SearchbBox.Text)
)

 

 

I added a column because the filter does not work with column names with spaces in it. 

 

I changed the OnSelect property of the arrow to the following below:

 

 

Select(Parent) ; Set(varColSelecred, ThisItem.col)

 

 

 

And the Items property of the form to

 

 

LookUp(Table2, varColSelected = Gallery1.Selected.col)

 

 

 

This solution on displays the first record of the excel file, even when clicking other records in the gallery. I did it this way because setting the forms' item property to Gallery1.Selected Did not work. I have been stuck on this for the past 2 weeks. 

 

I need a solution to be able to display a form from a selection from a filtered galllery. 

 

Please Help!

 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Display Form not updating Data from Filtered Gallery

    HI @npinot2002,

    First of all, please check the Default property of your Gallery, make sure that it is set to {}, which will make Gallery.Selected be what you select from the Gallery instead of the first record by default.

     

    Then set the Item property of the Form as:

    LookUp(Table2, col= Gallery1.Selected.col)

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard