Power Apps Exchange

Please login or click SIGN UP FOR FREE to create your PowerAppsUG account to join this user group.
 View Only

Network error using Collect function Field is required // Same column name problem

  • 1.  Network error using Collect function Field is required // Same column name problem

    Posted 29 days ago

    Hello, 

     

    I am facing an issue regarding a shopping cart app described in this video https://www.youtube.com/watch?v=Ztn39KuOW0g&t=1927s

     

    In my app version I'm proposing events tickets and I added the groupby function in order to select the date. 

     

    But here comes the issue when I would like to add the collection to a dataverse table, I receive the following error message:

    "Network error using Collect function Field "xyz_Title" is required"

    And within the code the error message: "The specified 'columnXYZ' does not exist the column with the most similar name in powerapps is 'columnXYZ' "


    Here is the code:

    Set(VarShowSpinner,true);
    Set(Varcompletion,true);
    Set(VarRecordID,Patch('Utilisateurs CSES',Defaults('Utilisateurs CSES'),{Noms:UtilisateurLabel.Text,
    'Date Facture' : Today(), 'Total Facture':Sum(CSEcollect,'Sous Total')}).'ID facture');

     

    Collect('Facture historique',AddColumns(CSEcollect, "FactureID", VarRecordID,"Noms",Label2_2.Text,"DateFacture", Today()));

     

    UpdateIf('CSE Démo tables','ID Ticket'= Gallery3.Selected.'ID ticket',{'Quantité en stock':'Quantité en stock'-Slider1.Value,'Quantité achetée':'Quantité achetée'+ Slider1.Value});

     

    Clear(CSEcollect);

     

    Could you please help out ?

    Thank you, 

    Corentin



    ------------------------------
    corentin Bodros
    ------------------------------