Hi all, I've upataded the below question.
I'm trying to highlight items in a gallery that have duplicate values in certain fields (the app is built in teams with Dataverse for Teams as the datasource). Unfortunately, I am not getting the correct results
For example, I have the following formula to check if there are items with the same EffectiveFrom date (timezone independent date column):
CountIf(
THR_0001_Contracts,
EffectiveFrom = ThisItem.EffectiveFrom
)
As you can see from the screenshot below, the results are unreliable, as the bottom two both show 9/1/2020 12:00AM but the count in the last column is 0.

I have also tried Adding a column in the Items property of the gallery but this returns the same results.
Can anyone suggest what might be going wrong here?
Thanks
Joel