web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / MS Forms Likert to Exc...
Power Automate
Suggested Answer

MS Forms Likert to Excel new row

(0) ShareShare
ReportReport
Posted on by
Hi all
 
I'm trying to build a flow that updates an Excel table from a MS form. Most of it is very straightforward but the bit I'm struggling on is one of the questions in the form is a likert. What I would like to do is for each statement that does not equal 'Not Applicable', a new row is added in the table, that row is then updated with the rest of the data from the form as well as the relevant statement, so that every statement that is not equal to 'Not Applicable' has its own row and the rest of the completed form's data.
 
Here's the likert and the flow I've built. The parameters of the condition are if the statement does not equal 'Not applicable' and this condition has been copied for every statement. I think it is the Key Column ID that I'm tripping up on but any advice or help is appreciated!
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Tomac Profile Picture
    4,001 Moderator on at
    To begin, you may run into an issue of updating your target Excel file if the form triggers multiple times quickly, one instance of the flow will have the target Excel open for editing and the next won't be able to open it and will fail. So we'll need to adjust the trigger to make sure only one instance of the flow runs at a time. Let's do that part first!
     
    On your trigger action, open the Settings
    and make sure Split On is enabled (this will allow multiple triggers at the same time if forms are rapidly completed) AND that Concurrency Control is on and set to 1 (this will require one flow instance to complete before the next begins)
     
    Alright, with that out of the way let's get into the meat and potatoes of the issue.
     
    Checking the output of a form completion, we see the results are in an object (not an array) we can work with:
     
    Now let's get into the rest of the flow:
     
    First we're creating an Array variable to store the answers. This is because we have to extract the answers from our object into an array we can iterate through. Then we loop through that array, with a Condition checking:
    item()['Answer']
     
    for the value we're seeking (in my case, Option 5, in your case, Not applicable) and take the appropriate actions based on that outcome.
     
    If this comment resolved your issue, please remember to mark it as the answer.
  • Suggested answer
    venturemavenwill Profile Picture
    1,189 Super User 2025 Season 2 on at
    Check out this use case in the Microsoft official documentation
     
    What you need to do is add a "Parse JSON" action on Question 3. This will create a response body that you can process.
     
     
    Screenshot of a flow's form inputs and outputs, with the file upload output highlighted.
    Screenshot of a Data Operation Parse JSON action in a flow under construction, with the form's file upload dynamic content highlighted.
     
    Screenshot of a sample JSON payload.
     
    Screenshot of the Parse JSON action with a JSON schema.
     
    When you then add the response into a condition statement, Power Automate should add an "Apply to Each" action, and you will be able to loop through each row and check the response. 
  • Tomac Profile Picture
    4,001 Moderator on at
    @N_Wallace Are you still having trouble with this, or is your flow now working correctly?
     
    If the issue is resolved, please mark the helpful comment(s) as the answer.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 431 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 148 Super User 2025 Season 2

#3
Tomac Profile Picture

Tomac 147 Moderator

Last 30 days Overall leaderboard