Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Distinct Counts

Status
Not open for further replies.

kculpepper77

Programmer
Mar 21, 2003
15
0
0
US
I have built a report and would like to include a count of unique/distinct values in one of my report columns. Any ideas? Thanks.
 
Well, you can insert a calculated filed in the header of your report, and use a formula like this

count(Distinct(ID))

where ID is a field.

--Ram
 
maybe you want to group on the desired column and add another calc column that indicates a number 1 for each unique value, then add them up.

CP [cook]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top