Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

DropDown Selection get other row details

(0) ShareShare
ReportReport
Posted on by 178

Hi Guys,

 

I have a dropdown list pointing to a column within my collection.

 

My collection for example has columns models, ID's, and Row Numbers.

 

When a user selects a model I would like to know the Id for that particular model.

Now I know I can use a lookup formula although the problem is there are duplicate model numbers with different ID's.

 

A lookup will only give me the first match. I have added in a row counter to try and get the row of the selected model so then I can match it back to the ID.

 

A gallery will allow me to get the correct value although I don't want to use one in this instance. I need to use a dropdown.

 

Is there anyway to get row information on the selected dropdown model item ?

 

Any help is greatly appreciated.

 

Thanks

  • christian12 Profile Picture
    christian12 178 on at
    Re: DropDown Selection get other row details

    Ok I thought so. thanks for your help

  • Verified answer
    Drrickryp Profile Picture
    Drrickryp on at
    Re: DropDown Selection get other row details

    @christian12 

    It appears that you are using a Distinct() function in your dropdown.  This eliminates all of the other columns so they cannot be referenced. If the dropdown Items property is a table with multiple columns, you can reference them.

  • christian12 Profile Picture
    christian12 178 on at
    Re: DropDown Selection get other row details

    Thank you although my dropdown is stored in results.

     

    Example: 'ColorSelection'.Selected.Result

     

    How would I get the other column names ? I have tried to add the column name at the end although doesn't work.

     

  • Drrickryp Profile Picture
    Drrickryp on at
    Re: DropDown Selection get other row details

    @christian12 

    Dropdown.Selected.othercolumname 

    A dropdown contains an entire record but only shows one column in the window. The others can be referenced as above. 

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard