Bug in visibility on form

I think this will work if you create a column in your form response sheet that will capture the balance from the detail record where you have the form button. You can pass this value into the form using the Column Values. That will write it to the form response sheet, but also make the value accessible for your visibility condition without actually showing it on the screen.