web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Field with dependent v...
Power Apps
Answered

Field with dependent visibility

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Guys!

I have a detail screen with several fields, And at various times some fields are not filled... I would like only fields that have data to appear

Categories:
  • Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi @Anonymous  - Assuming this is a form? - You can try putting the following in the 'Visible' Property of your respective datacards !IsBlank(YourTextInput.Text) or for dropdowns !IsBlank(Yourdropdown.Selected.Value)

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    dont work 😞

  • Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi @Anonymous  - Can you share some screen shots / info of exactly what you have tried and I may be able to help?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Look this example: 

    Guicord10_0-1639048301727.png

    This is a detail sheet with all data filled in.
    But let's assume that the "Insumo" field was not filled,  I wish he wasn't visible
    I just want the fields that have data to be visible

  • Verified answer
    Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi @Anonymous 

     

    See the example below - I have selected the DataCard for 'NrRequested' and added the code you see below to the 'Visible' property of the DataCcard.

     

    'DataCardValue11' is the name of the text input control with red border inside the Datacard. You will need to change 'DataCardValue11' to whatever the name of your control is on your form and this should then work for you.

     

    AmDev_0-1639051229874.png

     

    The effect this has is, when the text input control (DataCardvalue11) is empty

     !IsBlank(DataCardValue11.Test) = false (i.e.visibility false)

     

    When text input control (DataCardvalue11) has something in it (i.e. it is not blank..)

     !IsBlank(DataCardValue11.Test) = true (i.e.visibility true)

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    thanks it worked

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard