Hello,
I can't google it properly and I've run out of ideas.
I have a table Categories with column Name and TreePath. TreePath is created with ':' and parent record Names.
For example:
| Name | TreePath |
| Category1 | Category1 |
| Category2 | Category1:Category2 |
| Category3 | Category1:Category3 |
| Category4 | Category1:Category3:Category4 |
I want to update collection's column HasChildren - so I need to check if collection has any record with TreePath like Name, but not equal (well, I might be wrong).
I tried to use:
UpdateIf( Categories,
CountRows(Filter(Categories, Find(Name,TreePath))) > 1,
{ HasChildren: true} )
But it takes Name and TreePath from the same record.
Do you have any ideas?