I want to hide the attachment field unless a calculated number field <> 0. The calculation is done in the Power Apps form field-not in Sharepoint.
This is what I have in the Visible property;
If(Value(DataCardValue7.value) <> 0, true, false)
This is the error;

What am I missing? I appreciate any help I can get.