I am attempting to use an aggregate function combined with the firstsortedvalue function in order to identify the last Person associated to an ID. This formula successfully tells me the latest name associated to the ID according to date:
I now want to know the count of the number of times that name has been associated to the ID. I can't figure out what formula to use for this Count column. I tried plugging this value into a set analysis and it only works when you filter for one value for ID, otherwise it's 0.
|ID||Name "=aggr(FirstSortedValue(Name, -Date),ID)"||Count|