Hello - I have a similar situation as https://powerusers.microsoft.com/t5/General-Flow-Discussion/Auto-Increment-ID-number-in-Form-Respons... and https://powerusers.microsoft.com/t5/Creating-Apps/Numbering-rows-in-the-table/m-p/203589
I would like to number the rows as they are added using Flow. However, I'm not sure about how to structure the expression that would get this done. Here's what I have so far:
I would like the "Camper" column to be where the item number goes. It would be incremental: 1, 2, 3 based on where the flow last ended. So row 84-86 (which came in by the Flow) should be numbered 82-84 respectively:
Any suggestions on an expression that would work or a way of getting this item numbering done?
Hi @NeilP ,
Could you share screenshots of Flow's current configuration?
I am not sure where you got the data and inserted them into the Excel table.
If you are inserting the submitted data from MS Forms into the Excel table, it seems that you have a solution in the Thread you provided.
List of response notification Response Id will record the order of submissions.
If you want to automatically add the item number when inserting data into an Excel table that already has records, we could use the variable to get the current max item number, and then add 1 to generate a new item number.
For example, my field name is Item Number, please refer to the following method to get the max item number.
Please take a try.
Thanks Barry - I think we're close! The data is coming in from an online form service called Cognito Forms. They don't have a way on their end to number the list, so doing it like you suggested within the Flow I think is the way to go. When I put it together and ran a test this was my result:
Hi @NeilP ,
I think you can consider manually filling the remaining two item numbers in the Excel table.
Check out the announcement of Power Platform content at Microsoft Ignite!
Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.
Features releasing from October 2020 through March 2021