cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Continued Contributor
Continued Contributor

Count items selected

Challenge:

      I have 4 Dropdowns. All have items populating from a collection.  Additionally, I have added a default "-" to each dropdown. 
      I would like to count 'how many' of the dropboxs are populated with a selection excluding the "-" (desired result shown                image)

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Memorable Member
Memorable Member

Re: Count items selected

Hi,

You can basically do something like that :

If(Dropdown1.Selected.Value="-",0,1)+If(Dropdown2.Selected.Value="-",0,1)+If(Dropdown3.Selected.Value="-",0,1)

 

Théo

View solution in original post

2 REPLIES 2
Highlighted
Memorable Member
Memorable Member

Re: Count items selected

Hi,

You can basically do something like that :

If(Dropdown1.Selected.Value="-",0,1)+If(Dropdown2.Selected.Value="-",0,1)+If(Dropdown3.Selected.Value="-",0,1)

 

Théo

View solution in original post

Highlighted
Continued Contributor
Continued Contributor

Re: Count items selected

@tchin-ninThank you; such a simple solution.  I was making it much harder than it needed to be :).

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,920)