How check previous stored value is gather that new value

HI team
i m using for each loop and i m incrementing some value to a input box
every time i input a value i give a result i need to find out what give the highest results

and extract the results but in loop it wont store the value can someone let me know how to do it

Thank you

Hi ,

I can see two assigns , i think it should be only one which is after the if Condition. Can you try removing the first assign and let me know if it works , if it is not also please attach your xaml if possible

@Krishna_547 this is inside a for eachloop every time it loops the previous value becomes null

Can you send the xaml with only those logics ?