web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dropdown simple list w...
Power Apps
Unanswered

Dropdown simple list with two columns

(0) ShareShare
ReportReport
Posted on by 97

I'm trying to figure out the correct syntax. I'm trying to hard code in a simple list of Descriptions and Values for a dropdown list. The user selects the description, and on save, I grab the value related to that description. I can't seem to find syntax for anything other than a simple one column list. I don't need the user to see the value list, only the descriptions. I'm clearly not using the right words to describe this as I can't find any examples more advanced that the simple list from the documentation.

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at
    Re: Dropdown simple list with two columns

    @dsagfhjj 

    The record produced on the Selected property of the control is based completely on the Items property record schema.

    If your Items property records contain a Description and a Value column, then you can get to them with the following:  yourDropdown.Selected.Description and yourDropdown.Selected.Value for each column you are interested in.

     

    If you have more specifics on your scenario or formulas, please share those to describe your issue more.

     

    I hope this is helpful for you.

  • MV-30041934-0 Profile Picture
    97 on at
    Re: Dropdown simple list with two columns

    My question is how do I format the items property to create the two column list?

    If my table is:

    DescriptionValue
    Annual1
    Semiannual2
    Quarterly4
    Monthly12

    how would I create that list in the items property?

  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at
    Re: Dropdown simple list with two columns

    @dsagfhjj 

    Items property:

    Table(
     {Description: "Annual", Value: 1},
     {Description: "Semiannual", Value:2},
     {Description: "Quarterly", Value:4},
     {Description: "Monthly", Value:12}
    )

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard