cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anup_Behera
Level: Powered On

Saving multiple checkboxes values from forms to excel

Hello All,

 

I have a created a microsoft forms which triggers a flow to save the data on SharePoint excel and then sends the same details via email.

 

Flow gets triggered when new entry is made in forms. I am reading forms data using the following formula 

@{first(triggerBody()?['value'])?['resourceData']['responseId']} 

The forms and flow works fine but it updates data incorrectly where my form is displaying Multiple checkbox option.

 

For multiple checkbox section, flow is reading the data from Forms as 

"rc07d5055e2eb4cc8936262f0e3ba9aeb": "[\"Option 1\",\"Option 2\",\"Option 5\"]"

and then putting the values in the excel sheet as ["Option 1","Option 2","Option 5"]. How can I remove the [" when flow writes data to excel.

 
I want the final output as Option 1, Option 3, Option 5. There is also a case condition in flow which doesnt get triggered because of these values like [". 
 
Thanks.
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Saving multiple checkboxes values from forms to excel

Hi @Anup_Behera ,

 

You could try removing the symbol using Expression below.

Expression reference:

replace(replace(replace(body('Get_response_details')?['rce25a6a0207f436993c3f09cb9c41c02'],'","',','), '["',''), '"]','')

body('Get_response_details')?['rce25a6a0207f436993c3f09cb9c41c02'] , This section is configured according to the Dynamic content of your own form.

For example, I created a form with a multiple choice, the name of Question is checkbox:

Image reference:

789.gif

 

Flow run history:

72.PNG

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
Community Support Team
Community Support Team

Re: Saving multiple checkboxes values from forms to excel

Hi @Anup_Behera ,

 

You could try removing the symbol using Expression below.

Expression reference:

replace(replace(replace(body('Get_response_details')?['rce25a6a0207f436993c3f09cb9c41c02'],'","',','), '["',''), '"]','')

body('Get_response_details')?['rce25a6a0207f436993c3f09cb9c41c02'] , This section is configured according to the Dynamic content of your own form.

For example, I created a form with a multiple choice, the name of Question is checkbox:

Image reference:

789.gif

 

Flow run history:

72.PNG

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
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

Join us 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: 50 members 4,978 guests
Please welcome our newest community members: