Hello .
I am a beginner and have watched lots of Videos, however, I am not coming right. I am trying to create a collection and Import data from a Combo Box and Data Picker created in a blank Canvas (with no Gallery) to SharePoint List. The combo box selections are coming from a table in an Excel list.
When I create a collection it looks like the below image. I would like to see the name of the consultant which was selected as well as the month.
I would like to add this record into a SharePoint List which I created using the exact same field headers with their setting all being text fields as per the screenshot below.
Thank you in advance.
Solved! Go to Solution.
Hi Casey-Lee,
Controls for Consultant and Date picker are multi-select or single value ?
If multi-select, then change your formula as below and it will save the values for Consultant and InvoiceMonth as semi-colon separated values.
Collect(Summary,{SalesConsultantName:Concat('Sales Consultant Name'.SelectedItems, [ColumnName] & ";"), CustomerName:'Customer Name'.Text, ExpectedInvoiceAmount: 'Expected Invoice Amount'.Text,CertaintyPercentage:'Certainty Result'.Text, InvoiceMonth:Concat('Month selection'.SelectedItems, [ColumnName] & ";"), NextLogicalStep:'Next Logical Step'.Text})
[ColumnName] - Represent the column from the combo box which is used to display column value.
Hope this helps.
Hi Casey-Lee,
It will be more helpful if you can add the screenshots of form used to create collection. Meanwhile try below approach.
You have created 'InvoiceMonth' and 'SalesConsultant' as 'Single line of text' fields in SharePoint list whereas your collection holds the value for these fields as table.
While creating collection, you have to add the selected date and consultant from the dropdown like Month(DateControl.SelectedDate) for InvoiceMonth and ComboBox.Selected.Value for SalesConsultant.
Hope this helps.
Hi @DanishIslam
Thank you for the below.
This is my create collection :
Collect(Summary,{SalesConsultantName:'Sales Consultant Name'.SelectedItems, CustomerName:'Customer Name'.Text, ExpectedInvoiceAmount: 'Expected Invoice Amount'.Text,CertaintyPercentage:'Certainty Result'.Text, InvoiceMonth:'Month selection'.SelectedItems, NextLogicalStep:'Next Logical Step'.Text})
I would like to import the same data to my SharePoint list.
Thank you
Hi Casey-Lee,
Controls for Consultant and Date picker are multi-select or single value ?
If multi-select, then change your formula as below and it will save the values for Consultant and InvoiceMonth as semi-colon separated values.
Collect(Summary,{SalesConsultantName:Concat('Sales Consultant Name'.SelectedItems, [ColumnName] & ";"), CustomerName:'Customer Name'.Text, ExpectedInvoiceAmount: 'Expected Invoice Amount'.Text,CertaintyPercentage:'Certainty Result'.Text, InvoiceMonth:Concat('Month selection'.SelectedItems, [ColumnName] & ";"), NextLogicalStep:'Next Logical Step'.Text})
[ColumnName] - Represent the column from the combo box which is used to display column value.
Hope this helps.
That is brilliant and pulling through correctly to collections.
I clearly need to watch read up and watch some videos on Concat.
Patch ('Arch Pipeline', Defaults( 'Arch Pipeline' ), {Sales_Consultant_Name:Concat('Sales Consultant Name'.SelectedItems, 'Sales Consultants' & ";"), Customer_Name:'Customer Name'.Text, Expected_Invoice_Amount: 'Expected Invoice Amount'.Text,Certainty_Percentage:'Certainty Result'.Text, Invoice_Month:Concat('Month selection'.SelectedItems, Month), Next_Logical_Step:'Next Logical Step'.Text})
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
202 | |
176 | |
62 | |
32 | |
30 |
User | Count |
---|---|
325 | |
268 | |
104 | |
74 | |
56 |