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 / Question: Is it Possib...
Power Apps
Answered

Question: Is it Possible to Set Form Dropdown Default to All Available Items?

(0) ShareShare
ReportReport
Posted on by
Context:
 
I have a SharePoint integrated Power App for a SharePoint list.  In it I have a form, with all of the fields of the list.  One of which is (in Sharepoint) a lookup field that connects to another table of departments.  It is a multi-select table, representing the departments involved in a project.
 
Question:
 
Is it possible in the form to set the default selected items of the field to default to all available items, dynamically?  Meaning, if the departments table changes, it defaults to all available items.  This way users can deselect areas not impacted by the project, rather than having to do the opposite.  Very often there are more departments involved in some form of fashion, than not.  
 
 
Categories:
  • Verified answer
    CU18061035-1 Profile Picture
    Microsoft Employee on at
    Hey
     
     
    You can try this:
     
    ClearCollect(AllDepartments, 'DepartmentsTable')
     
    Replace 'DepartmentsTable' with your actual data source.
     
    Defaultselecteditems Property Set it to AllDepartments.
     
     
     
    If it worked please mark as verified answers,
     
    Cheers

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

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard