Hey Community,
My Code looks like this:
Set(countVorgang; 1);;
Set(itemCount; 0);;
Set(itemSum; CountRows(tmp_recordsToUpdate));;
ForAll(
tmp_recordsToUpdate;
Patch(
count_W2TML;
First(
Filter(
count_W2TML;
Titel = tmp_recordsToUpdate[@Titel] && Datum = tmp_recordsToUpdate[@Datum]
)
);
{
Titel: tmp_recordsToUpdate[@Titel];
Anzahl: tmp_recordsToUpdate[@Anzahl];
Datum: tmp_recordsToUpdate[@Datum];
UName: tmp_recordsToUpdate[@Username];
Mail: User().Email
}
);
Set(itemCount; itemCount + 1); // Update itemCount for each item inside the loop
);; ;
Now my Question is, Is there a possability to count up a variable inside the ForAll Loop. And when how could i do this?
Thanks for your Help,
And have a nice Day! 🙂

Report
All responses (
Answers (