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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Visibility based on dr...
Power Apps
Unanswered

Visibility based on drop down

(0) ShareShare
ReportReport
Posted on by 90

hi Expert,

i am trying to create a custom visibility in for datacard based on dropdown. 

 

Condition

If the dropdown value is Yes than only selected item are visible and if NO or blank than everything is visible. 

For example

like if p&C dropdown is yes than only country and stage are visible 

if no or blank than all item are visible. 

 

 

Vedant28_1-1707279096914.png

 

like 

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @Vedant28 

     

    In the Visible property of the datacards you wish to be visible based on the drop down:

    DataCardValue1.Selected.Value = "Yes"
    
    // Change to whatever your datacardvalue is called

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at

    Hello @Vedant28 

     

    Select each control individually

     

    Country , Visible Property

    pandc.Selected.Value = "Yes" (this will return true or false)

     

    Stage Visible

    pandc.Selected.Value = "Yes"  (this will return true or false)

     

    Risk Ranking Visible

    pandc.Selected.Value = "No" Or IsBlank(pandc.Selected)

     

    Example Yes is selected in mine the label is visible

    FLMike_0-1707280382096.png

     

    Now I select No and its invisible but the Other one i have set to your other question is now visible

    FLMike_2-1707280499881.png


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

     

     

  • Vedant28 Profile Picture
    90 on at

    hi Michael thank you for prompt response. 

     

    but  here if dropdown value is yes than only selected item is visbible 

    if not or if blank than everything is visible

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard