Good morning,
I am new, and am looking for a way to update a SharePoint lists column "IsFirstOccurrence" whenever a a text repeated in column "bay"
attached screenshot is an example which is manually done. Looking for a way to automate it.

Thanks.
Essa