Is there any way to count the value of one column based on if another column is unique? For example, I have a column called 'Issue ID' that is a numeric value that is sometimes repeated because each record that is entered in this application can be modified. So the database keeps a tally of what has been modified on the record by duplicating the record every time it is modified. The problem is there is another field called 'Status', with either an 'Open' or 'Closed' value. I need to count all 'Open' statuses but make sure I count it for only one unique 'Issue ID'.
Example:
Issue ID---------Status
3 Open
3 Open
3 Open
4 Closed
5 Closed
5 Open
-----------------------------
So the correct value of 'Open' statuses would be 2.
Hope that makes sense,
Sal
Example:
Issue ID---------Status
3 Open
3 Open
3 Open
4 Closed
5 Closed
5 Open
-----------------------------
So the correct value of 'Open' statuses would be 2.
Hope that makes sense,
Sal