This one is... a weird one?
I use a lot of global variables in my app. Every form's item is set to a global variable which is set on some other screen. These values are always set and never undefined when the user navigates to the forms/screens which use them, so I'm not sure why this error is happening and why it's only half happening.
Meaning, the live version of my app is fine. Its forms display the right information and everything is working. But on the edit version, where there are no differences whatsoever from the currently-published one, every form with a global variable as its item has the same error. "Invalid formula. Expected a value compatible with DataSource."
This has been happening to me on-and-off over the past few weeks and I don't think I ever actually do anything to fix it, it just sometimes fixes itself or I change a bunch of things enough that I have no idea what I did to make the error go away.
So the question is, is this just a PowerApps bug and I shouldn't touch it and let it fix itself, or is this a sign that I should rethink the way my app is working and handling these values, that there's the possibility of the whole app falling apart on its live version without warning?

Report
All responses (
Answers (