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 / Change visibility of c...
Power Apps
Unanswered

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.

Categories:
I have the same question (0)
  • rsaikrishna Profile Picture
    3,703 on at

    @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.
  • mdevaney Profile Picture
    29,989 Moderator on at

    @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."

  • Verified answer
    notj Profile Picture
    782 on at

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

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