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

Update a row Errors and Issues

Group,

 

Thank you for looking at my error. Context: I am trying to develop a Flow where when someone submits a Microsoft Form a row gets updated in Excel. The goal is to take this submit count, subtract this from the number of responses I need, and post that result into a SharePoint site or some visualization platform. With this, individuals who are taking the survey can see how many responses I still need before I can close the survey. For example, if I have 20 submission but I need 60, I can create a visualization saying I need 40 more submissions before the survey closes.

 

However, I am having  a heck of a time trying to get the Update row flow to work.

 

I've looked at numerous forum posts and tried numerous tactics over the past three hours. Below are the two flows where I've received some limited success.

 

The first flow takes the Form response, Gets response details, Lists rows in table, and then Updates row. I then get an error I posted below the flow.

 

Screen Shot 2020-03-06 at 10.44.25 PM.png

 

Screen Shot 2020-03-06 at 10.53.43 PM.png

 

Second flow is a simplified version where I remove the Get response details. Yet this still fails.

 

Screen Shot 2020-03-06 at 10.56.35 PM.png

 

Screen Shot 2020-03-06 at 11.00.10 PM.png

 

What am I doing wrong? And thank you for all your assistance!

1 ACCEPTED SOLUTION

Accepted Solutions
etj
New Member

Got it to work. As the respondents mentioned, I needed to add a value to the Response column so that PowerAutomate knew what row to store the value. What I did was to add a "1" under the Response column to denote the row number, then I added a Data column where the value would be stored. See pictures. Thank you!

 

Screen Shot 2020-03-07 at 3.02.50 PM.pngScreen Shot 2020-03-07 at 3.02.56 PM.png

View solution in original post

3 REPLIES 3
efialttes
Super User III
Super User III

Hi!

 

THe problem is, you have selected 'REsponses' as your Key column in Excel. THis means you cannot update it leaving it empty. You need to add some value

Flow_KeyColumn.png

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



yashag2255
Dual Super User II
Dual Super User II

Hi @etj 

 

Based on the error notification that you have posted, for an update row action, you need to provide a key value pair for the flow to identify the row and update it. So if you are choosing the key column, ensure that there is some value in the particular column for the row that you are trying to update. It will not consider null values on the identifier for updating the row. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

etj
New Member

Got it to work. As the respondents mentioned, I needed to add a value to the Response column so that PowerAutomate knew what row to store the value. What I did was to add a "1" under the Response column to denote the row number, then I added a Data column where the value would be stored. See pictures. Thank you!

 

Screen Shot 2020-03-07 at 3.02.50 PM.pngScreen Shot 2020-03-07 at 3.02.56 PM.png

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (39,729)