Hello
I am using patch Use the split to make new rows direcly
No1
ForAll(
Split(
Concat(ComboColor.SelectedItems;Value;";");";");
Collect(BoxColors;Result) ;;
//Split cut it up in small values
//dividing with semicolon
Patch(tblMultipelRows; Defaults(tblMultipelRows);
{
Color: Result
}
)
)
No2 if the data is already in the SP list , this will take out multiple color choises and puit it in new columns but no dynamic cols
And i patch it to a new sp list , where i use Powerautomate to run flows
tblSingelColorMultiCols;
ForAll(
tblMultiColorCol As wXL;
With(
{wColor: Split(wXL.Color;";")};
{
Color1: First(wColor).Result;
Color2:
With(
{wCol2: Last(FirstN(wColor;2)).Result};
If(!IsBlank(wCol2);wCol2)
);
Color3:
With(
{wCol3: Last(FirstN(wColor;3)).Result};
If(!IsBlank(wCol3);wCol3)
);
Color4:
With(
{wCol4: Last(FirstN(wColor;4)).Result};
If(!IsBlank(wCol4);wCol4)
)
}
)
)
)
------------------------------
Peter Eriksson
Staff
Gävle
------------------------------
Original Message:
Sent: Apr 11, 2022 04:20 AM
From: Chris Clark
Subject: Split data into a SharePoint from a Concat field within a form
Hi,
I'm using a Combobox for a people picker search (Office365Users)
From the search criteria I'm using Concat in my form but I then want to save the data into SP on separate rows. As i need to send Email out to these people and get approvals from each one that a task has been completed. At the moment its displaying the data in one row


Is this possible??
Regards
Chris
------------------------------
Chris Clark
Application Support Developer / Analyst
------------------------------