From a dispassionate perspective, I assume I'm doing something wrong because I can't think of any other good explanation. But I can't see that I am doing anything wrong, so maybe someone here can point it out:
I have a Power Apps application based on a SharePoint list. I want to populate some variables from values in this SharePoint list using the OnVisible action of the screen on which my form appears, and then plug that variable value into the Default of the card that contains the form field. I also have a separate "pop-up" form in a container on that same screen that allows the user to change these values, which will then update the variables, and thereby update the values in the original form.
The problem is that some of the variables will populate with the OnVisible action, and some will not. My first thought was that something must be wrong with the formula I'm using to populate the variables, but if I simply create a label and apply the exact same formula to the Text value of the label, it works fine. That leaves me wondering if there is something either about the timing or the context of the OnVisible call to populate the variables. But why this affects some of the variables and not others, I have no idea.

Can anyone suggest something specific that I can look at?
Thanks,
James