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 / My display form return...
Power Apps
Unanswered

My display form return blanks after selecting option from 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. 

So when I click the arrow on the gallery to show a display form it has no values and only returns the column names

 

I saw to use the following syntax with Lookup() cause you cannot use gallery1.selected since it has a filter

 

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

 

But this does not work. I dont know why, I think its cause I dont have a lookup column since my data source is an excel?

 

I just want to be able to display the data on the form for whatever record I select from the gallery.

 

Thanks in advanced!

Categories:
I have the same question (0)
  • npinot2002 Profile Picture
    19 on at

    This does not work because of the AddColumns() in the Filter()

  • npinot2002 Profile Picture
    19 on at

    This solution doesn't work either, it gives me this error

     

    Invalid formula. Expected a value compatible with 'Data Source'

     

    Also how do you double-check that the data types match?

  • npinot2002 Profile Picture
    19 on at

    My table has a unique column called 'index' so that means that my temporary table should also have index, but 

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

    Does not work

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard