The Visible property in forms in Power Apps

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

Visible property telling me that the control is visible
Visible property telling me that the control is visible

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.

Visible property not working as expected in the browser
Visible property not working as expected in the browser

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.

New analysis engine feature disabled
New analysis engine feature disabled

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.

New analysis engine feature enabled
New analysis engine feature enabled

Discover more from SharePains

Subscribe to get the latest posts sent to your email.

Related Posts

One thought on “The Visible property in forms in Power Apps

  1. 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.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.