Scenario
Two Dataverse table in a solution
1. Table with all employee that has worked in department. Every employee has a unique employee ID number
2. Table is a table that is reported Monthly with the employees that are active in the department. They have also employee ID number that should match in table 1.
Goal is to update Table 1 based on table 2.
IF employee ID exist update column with new information, IF employee do not exist in table 1 create a new row.
I have started with this tutorial https://www.youtube.com/watch?v=SFlj1ykpvgM from @abm which compare two arrays.
I new to Power automate and have just used to send email based on condition.
I am surprised that something like this scenario is so difficualt to create.
Here is my flow: this is only takes the employee ID number from the two Table and create integer variable. 

I have now two variables: Employee ID active and Employee ID All.
Is it supposed to be that hard? and what is my next step?