cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Benthomson
Level: Power Up

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
Super User
Super User

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

2 REPLIES 2
Super User
Super User

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

Community Support Team
Community Support Team

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

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 461 members 4,610 guests
Please welcome our newest community members: