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 / Displaying datacards b...
Power Apps
Answered

Displaying datacards based on combo box selected result

(0) ShareShare
ReportReport
Posted on by 67

Inside a form I have got four datacards that are combo boxes. These combo boxes represent the names of players in a game. 

I want to be able to control the visible property of these combo boxes by using a separate combo box that has the Items property of 1, 2, 3, 4. Basically choosing how many players were in the game. 

 

So if the the user selects 4 players then 4 datacards show up. Or if the user selects 2 players then only two of the datacards show up and so on.

 

I have tried this type of formula but it only ever shows one combo box at a time:

If(cmBoxNoPlayers.Selected.Value = "1" || "2" || "3" || "4", true).

 

I will answer any questions, thanks!

Combo box problem.png
Categories:
  • Verified answer
    HenriDesmet59 Profile Picture
    295 on at

    Hello @Shea1 ,

     

    I think you can try to put in the first combobox visible a condition like this one : 

    If(Value(cmBoxNoPlayers.Selected.Value) >= 1, true)

     

    For the second : 

     

    If(Value(cmBoxNoPlayers.Selected.Value) >= 2, true)

     

    And so on for the two others combobox.

     

    So If you select "3", the first combobox will be visible, same for the second and the third.

     

    Tell me if It's works 🙂

     

    Henri

  • Shea1 Profile Picture
    67 on at

    Yes! That worked, thank you very much 🙂 

  • HenriDesmet59 Profile Picture
    295 on at

    Nice ! no problem !

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard