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 Apps
Answered

Items in dropdown

(0) ShareShare
ReportReport
Posted on by 30

Hi all,

 

I have a dropdown that pulls its items from an excel file.

Is there a possibilty to add another value to that dropdown that is not in the excel file?

For example like this:  table1.countriesasia & ["France"; "Germany"]

 

Thanks 🙂

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Thom89 

     

    Please refer to the screenshot below. Using the expression below: 

     

    ClearCollect(DropdownCollection,Distinct(TabelaFormulário,'Primeira Página'),Distinct(["Germany","France"],Value));
    Excel Table Name: TabelaFormulário
    
    Excel column: 'Primeira Página'

     

    MicrosoftTeams-image (25).png

     

     

    To add values in dropdown other than the ones retrieved from the excel, you can create a collection and use the same collection in dropdown "items".
     
    This collection can be created either on page visible or some control action.
     
    Note: Please make sure that when you are creating collection, all the different arrays need to be filtered out as results using the Distinct Function(like I have used in my formula), otherwise it will store the values in different column.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Thom89 Profile Picture
    30 on at

    It worked, thank you 🙂

     

    Some further explaination since it is not 100% in the solution and some beginners might have trouble:

     

    The explained ClearCollect( function from the solution needs to be executed at "OnVisible" of the Screen and the dropdown Items are then simply the Collection.

     

    Thanks again!

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 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard