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 / Self-filling collection
Power Apps
Unanswered

Self-filling collection

(0) ShareShare
ReportReport
Posted on by 129

Hi,

 

I have an application that uses an editable grid with different collections. I have a problem with 2 Collection in my apps, one is named colTaskUpdatesCommande, and the other one colTaskUpdatesPresta. When I go to a page with one of this 2 Collection, it fill itself value that I don't modify. And when I want to save my edit, it doesn't seems to clear my collection.

 

How can I fix it ?

 

Regards,

Tom Victor

Categories:
I have the same question (0)
  • v-wenjuan-msft Profile Picture
    Microsoft Employee on at

    Hi @TomVictor ,

     

    Would you please share formulas you used to generate and modify the collections for further check?

     

    Search the collection name here will locates to all formulas related to it:

    vwenjuanmsft_0-1687251365183.png

     

    Best regards,

    Community Support Team _ Wenjuan Zou

  • CU22100725-0 Profile Picture
    129 on at

    Hi @v-wenjuan-msft

     

    Here is an exemple of formula I used to generate and modify the collection:

    If(
     ThisItem.'CRM - Commande' in colTaskUpdatesCommande.'CRM - Commande';
     Update(
     colTaskUpdatesCommande; 
     LookUp(
     colTaskUpdatesCommande;
     'CRM - Commande' = ThisItem.'CRM - Commande');
     {
     Client: LookUp('CRM - Client'; Client = ComboBox7.Selected.Client;ThisRecord);
     Commande: TextInputCanvas1.Value;
     'Date de commande': DatePickerCanvas1.Value;
     'Description commande': TextInputCanvas1_1.Value;
     'Condition Facturation': LookUp('CRM - Paramètre Conditions'; 'Condition Facturation' = ComboBox7_1.Selected.'Condition Facturation'; ThisRecord);
     'CRM - Commande': ThisItem.'CRM - Commande'
     }
     );
    Collect(
     colTaskUpdatesCommande;
     {
     Client: LookUp('CRM - Client'; Client = ComboBox7.Selected.Client;ThisRecord);
     Commande: TextInputCanvas1.Value;
     'Date de commande': DatePickerCanvas1.Value;
     'Description commande': TextInputCanvas1_1.Value;
     'Condition Facturation': LookUp('CRM - Paramètre Conditions'; 'Condition Facturation' = ComboBox7_1.Selected.'Condition Facturation'; ThisRecord);
     'CRM - Commande': ThisItem.'CRM - Commande'
     }
    ))

     

    Thanks,

    Tom Victor

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 638

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard