Counting Totals Problem.
Hello, InfoPath in new to me but I hope to find a solution to this problem I have with retrieving a total.
I have an expression box that I desire to give a total of the number of “True” in a “ROW”.
This is an example of the Table:
Column1 Column2
Row1 Q1 Q2
Row2 True False
Row3 False False
Row4 True True
If I have this "expression box" with this formula these are my results:
Count (@ID[@Q1 = “True”])
Results equal 2 and this is correct
If I change it to:
Count (@ID[@Q1 = “True” and @Q2 = “True”])
I will get a result that equals 2. I need it to equal 3 each .. What I am looking for is to count ALL “True” entries in each row. I have 7 columns and need to count every “True” in all the rows returned.
NOTE: I did change in the second example to an “OR” and it will return the number of “True” in the first column. Like it inores the 2nd column.
Thanks for any help you might be able to provide me with.
Richard.