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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,716)