I create a report with several invoices of 1 customer, example:
Customer# 123
->Invoice # 10, 20, 30 ... 70
-> each invoice has it's own sold items # ...
What I need is to Calculate the Sub_total = Sum(Item_price * Qty)
then I need the TAX Amount ... TAX_Amount = @SubTotal * 0.075
when I do this, it brings me the TAX AMOUNT of ALL the invoices, And I just need the TAX Amount of EACH invoice.
Then I need the Total for each invoice.
Please helpme out, I've been dealling with this issue for 2 days and can't solve it, please help urgent.
Thanks in advance.
Paco
Customer# 123
->Invoice # 10, 20, 30 ... 70
-> each invoice has it's own sold items # ...
What I need is to Calculate the Sub_total = Sum(Item_price * Qty)
then I need the TAX Amount ... TAX_Amount = @SubTotal * 0.075
when I do this, it brings me the TAX AMOUNT of ALL the invoices, And I just need the TAX Amount of EACH invoice.
Then I need the Total for each invoice.
Please helpme out, I've been dealling with this issue for 2 days and can't solve it, please help urgent.
Thanks in advance.
Paco