@johnjohn123
It seems you are filtering on 1 Project number only, is this correct? If so, and you know that there will NEVER be more than 2000 activities / Project then you could just do something like this
With(
{
wCompleted: Filter(Activities, ProjectTitle.Value=varProjectdetails.Title, Status.Value = "Completed"),
wAll: Filter(Activities, ProjectTitle.Value=varProjectdetails.Title)
},
CountRows(wCompleted) / CountRows(wAll) // add your formatting here
)
You can add your formatting where I've indicated - I was just lazy and didn't do it lol
This will remove the delegation error but be aware that this formula will only ever bring back a maximum of 2000 records each for wCompleted and wAll.