I have that and it comes up with a total for APPROVED and a total for
DECLINED. It's not adding them together.
Field: Amount
Table: Loan Activity
Total: Sum
:
You don't want the Approved and Declined separated, correct?
SELECT Sum(Amount) As Total
FROM YourTableName
Millie wrote:
I already have that. What I want is an expression that will Total the
APPROVED and the DECLINED. So, instead of having $213 for one and $185 for
the other, I want a total of $398 for both.
Thanks for your help.
:
Millie wrote:
No, I don't want a count of the APPROVED and DECLINED. I want to Total the
dollar amount in the Amount field when the Status is APPROVED and DECLINED.
:
You don't need an expression. You can do this with a group query.
Select Status, Count(Status)
From YourTableName
Group by Status
Hope that helps!
Create a totals query. Group by Status. Sum of Dollar Amount.
something like
SELECT Status, Sum(Amount) As Total
FROM SomeTable
GROUP BY Status
ORDER BY Status ASC;
Your result would look like
Status Total
Approved $213,000
Declined $185,000