cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tianaranjo
Level 8

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
tchin-nin
Level 10

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
tchin-nin
Level 10

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

tianaranjo
Level 8

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,200)