Hello,
I'm trying to count the number of "issues" produced in a report (the issue's are sorted by categories). The same issue can possibly appear twice in the report, if it applies to several different categories. I want the function to, however, only count the issue once.
Right now this code:
=Count(IIf(([IssueRisk]="High") And [IssueSource]="Computer" And ([CurrentStatus]="In Progress"),0))
returns the correct count - but will duplicate count the same issue if it appears in two categories. How can i only count distinct values?
I tried coding this:
=DCount("[IssueID]","2012 Report","[pkPersonID]=Forms!frmReporting!ChoosePerson AND [IssueRisk] = " & Chr(34) & "HIGH" & Chr(34))
It works - however, i can't see how i can add the other critiria (i..e// issue soure, and current status)
Any help is aprpeciated.
Thanks!
Andrew.
I'm trying to count the number of "issues" produced in a report (the issue's are sorted by categories). The same issue can possibly appear twice in the report, if it applies to several different categories. I want the function to, however, only count the issue once.
Right now this code:
=Count(IIf(([IssueRisk]="High") And [IssueSource]="Computer" And ([CurrentStatus]="In Progress"),0))
returns the correct count - but will duplicate count the same issue if it appears in two categories. How can i only count distinct values?
I tried coding this:
=DCount("[IssueID]","2012 Report","[pkPersonID]=Forms!frmReporting!ChoosePerson AND [IssueRisk] = " & Chr(34) & "HIGH" & Chr(34))
It works - however, i can't see how i can add the other critiria (i..e// issue soure, and current status)
Any help is aprpeciated.
Thanks!
Andrew.