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 / How to make label & dr...
Power Apps
Answered

How to make label & dropdown only visible based on previous dropdown selection.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there,

 

I am trying to make a power app that is a fillable form that has a label & dropdown that are only visible based on the selection in a previous dropdown.

 

So, if the person using the app selects "W2WB" or "W2NB" in Dropdown1_1, then Label2_6 & Dropdown1_2 should be visible. Otherwise, if "Independent Contractor", "Subcontractor", or "Direct Hire" are selected in Dropdown 1_1, then Label2_6 & Dropdown1_2 shouldn't be visible. Additionally, if nothing is selected or "" (blank) is selected I don't want Label2_6 & Dropdown1_2 to be visible.

 

Is this doable? I will note I am only using dropdown controls & labels, not a form control.

 

Here is what I have that isn't working:

 

Under Visible for Label2_6 & Dropdown1_2:

If(

(Dropdown1_1.Selected.Value = "W2WB" || Dropdown1_1.Selected.Value= "W2NB”),

true,

false)

 

Please let me know! Thank you 🙂

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Change your Visible property to:

    Dropdown1_1.Selected.Value in "W2WB|W2NB"

    The redundant true and false with an If statement is not needed.  The above will return true or false already.

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you! 🙂

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Randy,

     

    When "" (blank) is selected in Dropdown1_1, those 2 are still visible. Is there a way to also make it not visible when nothing is selected/"" (blank) is selected?

     

    Thanks! 🙂

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Yes, change to:

    !IsBlank(Dropdown1_1.Selected.Value) && (Dropdown1_1.Selected.Value in "W2WB|W2NB")
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That worked -- thank you! 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard