Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Change visibility of combo box based on selection/value of another combo box

(0) ShareShare
ReportReport
Posted on by 634

This should be a pretty simple answer to find but I haven't had any luck.

 

Here is what I have. I have 3 combo boxes. Each subsequent combo box is revealed when a selection is made in the previous combo box. All combo boxes have placeholder text.


Here is what the behavior should look like
Combo box 1(visible with no selection) > Combo box 2(hidden) > Combo box 3(hidden)
Combo box 1(visible with selection) > Combo box 2(visible with no selection) > Combo box 3(hidden)
Combo box 1(visible with selection) > Combo box 2(visible with selection) > Combo box 3(visible)


I'm pretty sure I need to use the Visible property and make it conditional on the value/status of the previous combo box but not completely sure how. What I have tried usually throws an error or does nothing.

  • Verified answer
    notj Profile Picture
    780 on at
    Re: Change visibility of combo box based on selection/value of another combo box

    @Future_Vision  Assuming the first two are named Combo1 and Combo2, you would set the visibility of Combo2 to be 

     

    If(IsBlank(Combo1.Selected), false, true)

     

    Then just duplicate this for the Combo3, but referencing Combo2.

  • mdevaney Profile Picture
    29,987 Super User 2025 Season 1 on at
    Re: Change visibility of combo box based on selection/value of another combo box

    @Future_Vision 

    Use this code in the Visible property of ComboBox2

    !IsBlank(ComboBox1.Selected)

     

    Then use this code in the Visible property of ComboBox3

    !IsBlank(ComboBox1.Selected) And !IsBlank(ComboBox2.Selected)
    

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • rsaikrishna Profile Picture
    3,703 on at
    Re: Change visibility of combo box based on selection/value of another combo box

    @Future_Vision 

     

    Combo box 1 Visible property:  true

    Combo box 2 Visible property:  CountRows(Combo Box 1.SelectedItems) > 0

    Combo box 3 Visible property:  CountRows(Combo Box 2.SelectedItems) > 0

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard