Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Default Data from a ClearCollect Collection

(0) ShareShare
ReportReport
Posted on by 68

I'm facing difficulties with modifying data in my Power Apps applications. Initially, I fetch data from a database to retrieve resources, and then I store the selected data in a collection, which also contains other cached data. The external collections refer to SharePoint lists that are not the ones I'm directly working on.

 

The issue arises when attempting to modify data in SharePoint. The default values do not load correctly because they reference data stored in a variable that is not saved. Although I've used the data from the variable, it has been concatenated and no longer has the same format, making it impossible to retrieve. Default values are crucial for data modification in Power Apps, as they load the desired data when editing an existing row.

 

I'm wondering if there's a way to set default values using data from the external collection or if there's another approach to solving this data modification issue in Power Apps.

  • Verified answer
    Emilbou Profile Picture
    68 on at
    Re: Default Data from a ClearCollect Collection

    I succeeded in setting default values in my Power Apps form by updating the DefaultSelectedItems property of my dropdown list. I used the ForAll(Split(ParentDefault,","),{Title:Value}) function, where ParentDefault represents my concatenated values. The formula allows me to create an array of objects with readable data for the dropdown list.

  • Emilbou Profile Picture
    68 on at
    Re: Default Data from a ClearCollect Collection

    I've tried to clarify the context, ask me if you have any questions @VishalJhaveri 

  • VishalJhaveri Profile Picture
    1,167 Super User 2025 Season 1 on at
    Re: Default Data from a ClearCollect Collection

    Your question is not clear.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 770 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 494

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399