Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have below table :
we are counting commission amount with below conditions :
1- count only amount paid within Star and end date .
2- if customer paid more the account balance , don't count the extra
result :
122 =12+30+80