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

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

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

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

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,648)