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 / add item in a dropdown
Power Apps
Answered

add item in a dropdown

(0) ShareShare
ReportReport
Posted on by 117

 hi to all i have a dropdown that is popolated by a choise in a sharpoint. The list called peopleGender and the column gender

Choices('peopleGender '.gender).Value give in the output the two choised of sharepoint "male", female"

i put in dropdow item Choices('peopleGender '.gender).Value and it show me the two value, i want add another field until "male", female" in dropdown. it's possible?

 

thanks in advance

Categories:
  • eka24 Profile Picture
    20,925 on at

    You can replace that with:

    ["Male","Female","Other","Another"]

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • vincenzos1984_1 Profile Picture
    117 on at

    i need take choise dinamycally.. if someone add another choise on sharpoint your solution work whitout new Choises

  • eka24 Profile Picture
    20,925 on at

    Your own solution is already dynamic

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • vincenzos1984_1 Profile Picture
    117 on at

    when i put this?

    ["Male","Female","Other","Another"] ? if i put directly in item is static solution

    i need take choises from sharepoint and add only a static value

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @vincenzos1984_1 :

    Do you wish to add other options to the drop-down control?

    My method is to achieve dynamic results through function composition.

    I suggest you try this code:

     

    Distinct( /*Remove duplicates to prevent duplicate options from being duplicated with the original options*/
     Split( /*Change the new string back to the table*/
     Concatenate( /*Add new options (also separated by ";")
    */
     Concat( /*Adjust the original table options to ";" separated string*/
     Choices(peopleGender.gender),
     Value,
     ";"
     ),
     ";",
     "Other",
     ";",
     "AnOther"
     ),
     ";"
     ),
     Result
    )

     

    1.jpg

    Best Regards,

    Bof

     

  • vincenzos1984_1 Profile Picture
    117 on at

    thanks a lot im going to test this it's what i want :), it's possible to add first the static value ["Other","Another"] and after concatenate the choises?

     

    thanks in advance

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @vincenzos1984_1 :

    Do you want to bring "Other" and "AnOther" to the front?

    Please try this code:

     

    Distinct(/*Remove duplicates to prevent duplicate options from being duplicated with the original options*/
     Split(/*Change the new string back to the table*/
     Concatenate(/*Add new options (also separated by ";")
    */
     "Other",
     ";",
     "AnOther",
     ";",
     Concat(/*Adjust the original table options to ";" separated string*/
     Choices(peopleGender.gender),
     Value,
     ";"
     )
     ),
     ";"
     ),
     Result
    )

     

     

    Best Regards,

    Bof

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