Hello everyone,
I’m working on a Flow in Power Automate to compare two SharePoint lists, List A and List B, based on a date column. If the dates match, I need to update the Guest Count in List B using data from List A.
Details:
- List A (Booking List):
- Contains a column called Check-Out Date.
- Also includes a column for the Guest Count.
- List B (Payroll List):
- Contains a column called Work Date (corresponding to Check-Out Date in List A).
- I want to update the Guest Count column in List B with the value from List A if the dates match.
- Current Flow Setup:
- I have two Get Items actions to fetch data from both lists.
- Two nested For Each loops iterate through the items in the lists.
- A condition checks if the dates in Check-Out Date (List A) and Work Date (List B) match.
- If a match is found, the corresponding item in List B is updated with the Guest Count from List A.


Unfortunately the Flow is not working as expected. I have tried troubleshooting using a process of elimination, but I couldn’t identify the issue. It either gets stuck at the condition or returns 0 matches when comparing the date columns. I even tested the setup by replacing the date values with simple numeric values (1, 2, 3, 4), as I thought the date format might not be compatible, but that didn’t work either.
Any tips or suggestions?