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 / How would I go about s...
Power Apps
Unanswered

How would I go about setting a condition on a combo box?

(0) ShareShare
ReportReport
Posted on by 4

Hello,

 

I am attempting to create an app where the user selects a number from my combo box (A number 1 through 6) and depending on that number, that many data cards will become visible/display (My data cards are from my sharepoint form).

 

So if I select 2, two of my data cards will become visible and the user can enter the data that they need to within those cards.

 

First time creating an app, so would love some simplistic advice! Thank you!

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    Hi @jaiho ,

     

    In the Visible property DataCards (not the DataCard value), enter:

     

    DataCard 1: 

     

    Value(ComboBox1.Selected.Value)>=1

     

    DataCard 2:

     

    Value(ComboBox1.Selected.Value)>=2

     

    DataCard 3:

    Value(ComboBox1.Selected.Value)>=3

     

    DataCard 4:

    Value(ComboBox1.Selected.Value)>=4

     

    DataCard 5:

    Value(ComboBox1.Selected.Value)>=5

     

    DataCard 6:

    Value(ComboBox1.Selected.Value)>=6

     

    Related solution I posted earlier this week: 

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Show-Hide-Form-Fields-Based-on-Multiple-Conditions/m-p/2214970#M554836 

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard