So our database a quite a few contacts with the same email address. Whenever we create a segment it brings in those duplicates.
I had a look at the msdynmkt_segmentdefinition table and there seems to be a query column that converts whatever you put into the segment builder into this specific query language.
My question would be is there a way to remove contacts with duplicate contacts so that we can get a accurate count of how many distinct email addresses are in a segment. This can be either out of the box or potentially programmatically using whatever that query language is being used.
I know there a feature switch that allows the journey to dedupe the contacts automatically when going through a journey but what I'm after is the ability to dedupe at the segment creation level so that we get an accurate count of exactly how many people will be getting a email for example in journey.