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 / Link Correct Event ID ...
Power Apps
Answered

Link Correct Event ID in Participant Form in Power Apps

(0) ShareShare
ReportReport
Posted on by 8

I am currently working on a Power Apps application that is connected to two SharePoint lists:

* One for events

* One for participants

 

My goal is to link the 'Event' field in the participant form directly to the 'Event name' in the event form. However, I am encountering an issue due to events having identical names but different IDs.

 

The problem arises when I attempt to add a new participant through the "New+" button in the participant list. While the event name populates correctly in the associated field, the ID does not correspond to the correct event. It seems to only link to one instance of the repeated event names, thus not reflecting the actual event I need.

 

SelectedEvent (SelectedEvent is a global variable within the icon arrow in event gallary) shows the correct event ID.

danielahvist_0-1710322117265.png

But when I test the ID with a text label it shows a different event ID

danielahvist_1-1710322193418.png

 

I need guidance on how to ensure that the 'Event' field in the participant form correctly references the event's unique ID, not just its name, especially when there are multiple events with the same name. How can I achieve this linkage accurately in Power Apps?

Any advice or solutions would be greatly appreciated. Thank you!

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,833 Super User 2026 Season 2 on at

    Hi @danielahvist ,

     

    The LookUp function starts looking from the top of the list for the first item that matches the criteria, stop looking and return found item. So if you are using the same name multiple times, always the first item with that name will be returned.

     

    Changing the condition in the LookUp function to use the ID column will fix the issues since that has unique values. Also you can use the Coalesce function to cover the functionality of the If function to get a slightly cleaner formula:

     

    Coalesce(
     Parent.Default,
     LookUp(
     DropdownValues.Participants.Event,
     ID = SelectedEvent.ID
     )
    )

     

  • danielahvist Profile Picture
    8 on at

    Ah! Thank you so much! That worked 😁

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard