Recently I came across a bit of a weird behaviour in Power Apps where the Visible property of a data card and a DataCardValue control’s Visible property was giving me false values while fields were shown within forms in my app.
My example app
Table of Contents

So I replicated the problem in an app in my development setup. My form is showing an email field and I’m displaying the Visible property in a label control. All good so far.
But then I ran the app in a browser and I’m seeing something slightly different.

My app now shows that the Visible property is set to false.
So why is this happening and how can the Visible property report false while I can actually see the field on my screen?
The Visible property and the New Analysis engine
Recently a new feature was introduced. The New analysis engine feature improves the authoring performance. Now in my existing app this feature was not enabled.

Once I enabled this feature the Visible feature was set as expected in both my Power Apps editor and the app when it runs within my browser.

Discover more from SharePains
Subscribe to get the latest posts sent to your email.
interesting.
I got a few Apps that were working fine for a long time and recently users reported that some are not always functioning properly anymore – or just not as they used to sometimes. It’s related to the visibility function. So far I had no explanation or solution for this – but after your post I checked the MS Platform and they indeed write to activate it, also on existing Apps ( I thought, turning on functions I do not need would only unnecessary increase data use, so had ignored it):
What You Need to Do
New Apps: For all new apps you create, the New Analysis Engine will be turned on by default. Enjoy the improved performance right from the start!
Existing Apps: If you have existing apps, we recommend enabling the New Analysis Engine. Here’s how:
Open your app in Studio.
Go to Settings.
Go to Updates.
Look for the “New Analysis Engine” toggle on the New tab.
Turn it on.
Test your app thoroughly to ensure everything works as expected.