cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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

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

Community Support
Community Support

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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (13,002)