Hi,
I'm writing this below code and form these 2 same collections, I'm unable to get different rows.
When the 1st condition is getting correct then other condition getting failed and giving empty collection.
and while writing ClearCollect(colItemsSystemGroups,colItemsSystemGroups2,colItemsSystemGroups1) code, I'm getting error like: There is a dependency on colItemsSystemGroups2 between 2 different formula in the concurrent function. one formula is changing while other is reading it.
I'm collecting in 2 different collections then why getting this error??
ClearCollect(
colItemsSystemGroups1,
Filter(
colOriginalSystemGroups,
CountRows(
Filter(
Selected_Business_Area2,
ID = colOriginalSystemGroups[@MatDivisionId],
//If(Level = 4,
ThisItem.Level = 4 && Level >= 3 && CountRows(Filter(Selected_Business_Area2,ID = ThisItem.ID)) >= 2 //)
)
) > 0
)
),
ClearCollect(
colItemsSystemGroups2,
Filter(
colOriginalSystemGroups,
CountRows(
Filter(
Selected_Business_Area2,
ID = colOriginalSystemGroups[@MatDivisionId],
//If(ThisItem.Level = 2,
ThisItem.Level = 2 &&
CountRows(Filter(Selected_Business_Area2,ID = ThisItem.ID)) >= 2 //)
)
) > 0
)
),
ClearCollect(colItemsSystemGroups,colItemsSystemGroups2,colItemsSystemGroups1)
Thanks

Report
All responses (
Answers (