I would like to calculate the number of "Approved" transactions using a query. Since I am performing other calcs in this query, I chose to use the Count function as follows: No_Approvals: count([transaction category]="Award" And [transaction code]<>"SCR"
. The "Total" row is set to "Expression". This returned an incorrect number.<br><br>After playing with the query, I stumbled upon using the Sum function as follows: No_Approvals: Sum([transaction category]="Award" And [transaction code]<>"SCR"
.<br><br>This returned the correct number, but it was returned as a negative.<br><br>Any idea why this is happening? Any ideas for a fix. The "counts" will be displayed in a report. I will multiply the count by -1 to display the correct number. I prefer to avoid this "workaround" if possible.<br><br>Thanks for any input.