cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
P_SA
Helper V
Helper V

How to fetch the last row of excel online and auto increment the ROW ID.

Hello , I have a excel online file in Sharepoint. I am using excel online connector to update the row using power automate and triggering it with PowerApps. The flow works perfect, but I want to auto increment a column[Project Number]  with the last value . 

Below are my excel online and flow screenshots.  
I would ideally want my flow update the next row by auto incrementing the Project Number Column with the last value.
below example : the next project number should be 200170

excel1.PNGflow.PNG

 

here is my power apps function to trigger the flow . 
TextInput2 is the Project Number Label .

ProjectExcel.Run(
TextInput2.Text,
ComboBox1.Selected.Customer,
TextInput2_3.Text,
TextInput2_4.Text,
TextInput2_2.Text,
DatePicker1.SelectedDate,
Dropdown2_1.Selected.Value,
Dropdown2.Selected.Value,
Dropdown1.Selected.Value,
TextInput2_8.Text,
TextInput2_9.Text
);

 

0 REPLIES 0

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,013)