Hi I am newbie in MS Access I am using the following expression to calculate the balance of my wallet
Balance: Nz(IIf([In]=Yes,Sum([Cost]),0))-Nz(IIf([In]=No,Sum([Cost]),0))
I want to take difference of two sums, one with [In] = Yes and other with [In] = No, this will tell me the balance of the whole transactions, I have written the fomula given above I dunno why its not working