I'm trying to remove the delegation warning from my ClearCollect function and update data in the gallery which is connected to the ClearCollect function.
I've tried two ClearCollect functions which are placed in the "OnVisible" Action screen, however they're both either not delegable or update data in the gallery after patch.
This is my first ClearCollect function which shows a delegation warning and does update data in the gallery automatically after patch.
ClearCollect(vehicleMileage, Filter('Vehicle Mileage', Vehicle.Id = Value(selectedVehicleId)))Monitor request
This is my second ClearCollect function which doesn't show a delegation warning and doesn't update data in the gallery automatically after patch. I created a 'Vehicle ID' number column which matches the lookup ID above.
ClearCollect(vehicleMileage, Filter('Vehicle Mileage', 'Vehicle ID' = Value(selectedVehicleId)))Monitor request
It seems that the getRows operation is the difference.
Am I missing something? Is anyone able to advise on how I can make the function delegable and update data after patch without having to navigate to another screen then back again?
Many thanks
Tom

Report
All responses (
Answers (