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 / Cannot transfer select...
Power Apps
Answered

Cannot transfer selected gallery item to form after I applied addcolumns to gallery

(0) ShareShare
ReportReport
Posted on by 6

Hi,

I was trying to solve to search lookup column in gallery, it broke the navigation.  

 

So to filter I added a ComboBox, SearchDesktopReviews

Items: AddColumns('TABLE',"DeskTextCol",Text('Audit_x0020_ID'.Value))

 

Same for the DesktopGallery

Items: Search(AddColumns('TABLE',"DeskTextCol",Text('Audit_x0020_ID'.Value)),SearchDesktopReviews.Text, "DeskTextCol")

 

Audit_x0020_ID is a lookup column. Thus, until I add another column, I cannot do search in it. 

 

Then "AddColumns" I am getting error on the form Screen

Form

Items: DesktopGallery.selected

Error: Invalid formula. Expected a value compatible with 'DataSource'.

 

I couldn't figure out how to transfer changed gallery table to form.

 

Any suggestions,advice?
Thanks,

 

 

Categories:
  • Verified answer
    zmorek Profile Picture
    3,272 on at

    Because the form doesn't know what to do with the new columns, since they technically don't exist.

     

    Put this in the form's Item() property:

     

    LookUp( DataSourceName, ID = DesktopGallery.Selected.ID )

     

    Ninja edit: forgot a word

  • doctor Profile Picture
    6 on at

    Thank you so much. It worked brilliant.

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 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard