cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Check how many choices are picked in a form

I have a Microsoft form with a list of choices, users can pick more then one choice

Like this

Option 1
Option 2

All the way down to option 7

I want to in flow see if more then 6 options have been selected and do something based on this , I have tried a few different things and can't seem to get it to work
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Check how many choices are picked in a form

Hi @Benthomson ,

 

You could run a composeaction and then use the length function on the question that you want to check the number of answers on.

 

Number of options.PNG

 

Now It is possible to do a compose

 

lengthoptions.PNG

View solution in original post

2 REPLIES 2
Highlighted

Re: Check how many choices are picked in a form

Hi @Benthomson ,

 

You could run a composeaction and then use the length function on the question that you want to check the number of answers on.

 

Number of options.PNG

 

Now It is possible to do a compose

 

lengthoptions.PNG

View solution in original post

Highlighted
Community Support
Community Support

Re: Check how many choices are picked in a form

Hi @Benthomson,

 

You can initialize a variable to store the array of selected Options, such as Choices.

The Choice is the multiple option type of the MS Form survey. After you get the response details, you can get the Choice from the dynamic content, then store them in the Choices Array after split them. ( split() function ).

Then you can use the length() function to get the number of the Choices array whether is greater than 6.

Annotation 2019-09-10 143435.png

I hope it can help you.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Users online (7,489)