I have a query with the following columns:
ID l Particulars l Category l Group l Amount
I want another column where I can do a sumiif. I put the formula Sum(iif(Category=& Category,Amount) where it sums the amounts of all categories if it is same as the category in the present row. However, access aks me to group the data for the performing the aggregate function and when i did so sumiif returns the same value as in the amount column for the corresponding row rather than the sum. What did I miss? Is there is anything wrong with the formula? Do I have to try Sum(Amount,Category=&Category)?