Hi Reader,
I'm having a collection like below
ClearCollect(
colStudents,
Filter(
StudentInformation,
ID = vStudent.ID
)
);
Now i want to add an unique id column to the collection. i tried using add columns as shown below
ClearCollect(
colStudents,
AddColumns(
Filter(
StudentInformation,
ID = vStudent.ID
),
"Index",
Last(colStudents).Index + 1
)
);
but it is not working as expected. and it is giving the same number for all the records in collection.