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 / look up formula in ite...
Power Apps
Suggested Answer

look up formula in item property

(1) ShareShare
ReportReport
Posted on by 557
I am trying to have a button (pencil) icon that when you click it  - you can edit that specific record (opens to a form).  I'm trying to get a formula in the Item property so that its the ID for the selected item in that gallery, however having trouble.  So if they click on the pencil it's ID 7 that populates in the form to edit.  I've tried both formulas here but no luck.  Any help is appreciated.
 
Categories:
  • WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at
    The top one should work.
    LookUp(
       Coaching_1,
       ID = Gal_Drafts.Selected.ID
    )
    What is the Items of the Gallery ?
     
    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.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • joel914823 Profile Picture
    557 on at
    Hello, 
     
    In the Item property I have below but still errors out:
     
  • Suggested answer
    Ravindra Jadhav Profile Picture
    342 Moderator on at

    Hi,
    As per your second image, your formula should work.

    Ensure that the gallery's data source matches the form's data source. The SharePoint list should be the same in both places.

     
    Please Closed the Question, Mark it Solved 
     
    If my answer helped resolve your issue, please consider marking it as solved to assist others facing the same problem. Additionally, giving it a like would be greatly appreciated and motivates us to keep helping
     
    Thank You
    Ravindra Jadhav
  • Nandit Profile Picture
    1,568 Moderator on at
     
    I would help if you could share the Items property of the gallery. Also, if you could hover on the error to see what it says, that could be helpful as well. 
     
    Thanks,
    Nandit
  • joel914823 Profile Picture
    557 on at
    Hello @nandit - 

    Items property of Gallery....& error message

     

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard