i have a pivot table which includes a field with IDs and i want to set up a formula to count the number of unique id's

Can this be done?