Thank you for your quick response PStork1. I attempted to change the list item to a string but this removed the dynamic content. I have since recreated the flow. I get a different error starting the function 'less' expects all of its parameters to be either integer or decimal numbers. Found invalid array.
Is it i am using incorrect field types? Or the wrong Power Automate features?
As far as i can see the Apply to each is creating the array from

