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 / Using Drop Downs. How ...
Power Apps
Answered

Using Drop Downs. How do I send back a different value than that which is displayed?

(0) ShareShare
ReportReport
Posted on by 894

I have a Drop Down control in my Canvas App.

It displays the CompanyName values from a collection.

The collection has 2 fields. ID & CompanyName.

However, the value I want to save, from the same record, is the ID field.

How do I specify this?

 

 

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @stapes 

    Dropdown controls contain an entire record but only display one field in the window.  The ID field is accessible as follows: 

    Dropdown1.Selected.ID

     

  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    You put that info in the Update property of the Card - the part that holds the text input of the form

  • rsaikrishna Profile Picture
    3,703 on at

    @stapes 

     

    You can mention the following in the Update property of the drop down card:

    LookUp(CollectionName, CompanyName=ddField.Value).ID

     

    Also, in the default value of the card, you should do similar formula:

    LookUp(CollectionName, ID=ThisItem.<field name>).CompanyName

     

    Give a try and post the details.

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

     

     

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard