HI @Melissa ,
Its me again. Been a while. I have this scenario and I think there is a pattern already with this but I am struggling to understand how to accomplish it.
So basically I have two tables in the PBIX file and excel file named Tmaster and Tdetail.
Requirement
I basically want to add a new Status column in Tmaster table by scanning the Tmaster table, for each row of the Tmaster table check the Employee and the End date matches the Employee and Enddate of the Tdetail table and scan column LineItemApproavlStatus and check that all the rows are of text A. If all the rows are A change the Status# in the Tmaster table to R if not leave the Status# as it was.
I hope this is clear and let me know if you have any questions.
Thanks in advance for your help.
P
tmaster and tdetail.pbix (81.0 KB)
Tdetail and Tmaster.xlsx (11.5 KB)