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

Find your favorite faces from the community presenting at the Power Platform Community Conference!

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.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response 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 (11,906)