Good afternoon
I am trying to create a field in my query that leaves a 1 if a Question = "Yes" and another Field isblank if thats possible.
I have tried the following, but the formula seems to add up all the empty column references and misses the "Yes" clause. I think I am missing something simple but I cant seem to see it
I am trying to identify is Q7 says "Yes" and the Completed is blank. If its blank I need a 0 output
thanks in advance
Gavin
I am trying to create a field in my query that leaves a 1 if a Question = "Yes" and another Field isblank if thats possible.
I have tried the following, but the formula seems to add up all the empty column references and misses the "Yes" clause. I think I am missing something simple but I cant seem to see it
I am trying to identify is Q7 says "Yes" and the Completed is blank. If its blank I need a 0 output
Code:
Remediation Completed : Sum(IIf([Table]![Q7]="Yes" And [Table]![Completed] Is Null,0,1))
Remediation Completed : Sum(IIf([Table]![Q7]="Yes" And isNull([Table]![Completed],0,1))
thanks in advance
Gavin