This is how my data looks. I am using two ForAll loops to extract the multiline data into individual rows.

The below formula works well, But unfortunately when Deficiency # column is blank it ignore that row since no value is returned.
ForAll(
col_Sample,
ForAll(
Split(
'Deficiency #',
Char(10)
),
Collect(
Test2121,
{
ID: ID,
Drid: Result,
DrRDate: Last(
FirstN(
Split(
'DR Received Date',
Char(10)
),
Value(Result)
)
).Result
}
)
)
);
I would like to add a single row with the ID number added in the scenario when the spit function returns an empty table. How can this be done 🙂 Not able to figure this one out.... this feels very easy though 😫
Thank you !!!!