I have code in OnStart property of an App that stores values of the Users that use the App like first name. I want to use the value of that variable as the text of a label but it’s just showing the name of the variable instead of the value that’s stored in the variable. For example, I have a variable named “varUserName” that stores the name “Chad”. Instead of showing “Chad” it shows “varUserName”. I started running Onstart manually and I see that the variable has been initialized because it’s on the Variable list of Power Apps with a value
It sounds like you have the Text
property of the label set to "varUserName"
(with quotes) instead of varUserName
(without quotes). Try removing the quotes. Note that you need to set this from the "Advanced" tab of the label, NOT the "Properties" tab.