cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pal95
Helper IV
Helper IV

My App went crazy with Variables - Incompatible type

Hi,

I have two versions of the same app - both are almost the same. 

In version, one everything works fine. In version two, I have an error (on the screen).

The code is almost the same (in version two I added one more screen with photos, but not even deleting it does not change anything). Why such error appears and ruins my app?


1 REPLY 1
Drrickryp
Super User
Super User

Hi @pal95 

That error usually indicates that a variable is used somewhere else in your app in a different context.  You should look at variables.pngto see where else it may be being used and if you can figure out where, then change the name so that it doesn't confuse PowerApps. Sometimes, it is due to using Set() in one place and UpdateContext({}) in another with the same name for the variable. 

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,320)