cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shoaibsam12
Frequent Visitor

Update the Key ID in excel when new response was submitted

Hi,

 

I have created a flow in which when a response from MS Form is submitted, a row is added to an excel table with some data from the Form. 

 

Flow issue.png

 I want to update the value in Key ID. For example, my last Key ID was 23 the updated should be 24. 

 

how I can do that

 

Thanks in advance

Cheers

SM

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @shoaibsam12 

 

Couple of ways you can do this, 

1. Create a calculation in the column in excel itself such that every cell is the sum of the previous cell value and 1. This way you do not have to update it from flow. 

 

2. Add an action to list rows present in a table. In a compose action use the length function to get the length of items returned on the list rows action. in the key value, use the add function to add the length and then 1 to increment that value. 

 

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!

View solution in original post

1 REPLY 1
yashag2255
Dual Super User II
Dual Super User II

Hi @shoaibsam12 

 

Couple of ways you can do this, 

1. Create a calculation in the column in excel itself such that every cell is the sum of the previous cell value and 1. This way you do not have to update it from flow. 

 

2. Add an action to list rows present in a table. In a compose action use the length function to get the length of items returned on the list rows action. in the key value, use the add function to add the length and then 1 to increment that value. 

 

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!

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,766)