Hello there,
I have a collection with an ID number and I want to split this collection into multiple sub-collections based on the ID number.
I also want to name the sub-collections after the ID number.
Does anyone have a solution with a loop?
The manual approach would be:
ClearCollect(Col_ID_number_1, Filter(Col_TOTAL, ID_number = "ID_number_1"));
ClearCollect(Col_ID_number_2, Filter(Col_TOTAL, ID_number = "ID_number_2"));
.
.
I have tried the following loop (but it causes error messages..):
ForAll(Col_TOTAL, ClearCollect(Concatenate("Col_", ID_number), Filter(Col_TOTAL, ID_number = ThisRecord.ID_number)))
Thanks in advance for suggestions!