Hi @Ashishsingh ,
You can do using initialize a veriable "EmployeeData" as array type.
Apply to each item in SourceList -
Get EmployeeName, Week, HoursWorked
Extract Month from Week
If EmployeeName-Month exists in employeeData -
Update total hours
Else:
Add new entry with EmployeeName, Month, TotalHours
Apply to each entry in employeeData -
If entry exists in DestinationList -
Update item with new TotalHours
Else:
Create new item with EmployeeName, Month, TotalHours
Using this way you can create your flow.
Mark as solution if it helps.
Thanks,
Sandeep Mishra