SSRS 2008 have 2 colums with amount needs to add Total cost and than total cost column divide by Total qty get avg

SSRS 2008,  have this report
 Qty Column --------- Est cost column -----    Mark up Cost Column  -   Did add Total cost column
4 pcs-                       $ 2000.00  --------------$  50.00 --------------- $ 2050.00
Avg  Cost                                                                                      
$2050/4=  512.50
how to write this exp to get value $ 512.50 
what I did , its not giving me correct result,
=Sum(Fields!estCOSTAMOUNT.Value+Fields!COSTMARKUP.Value)/(Fields!QTY.Value)
can some one please advise what I am doing wrong.
thanks in advance

I tried both exp, did not work
may be I was not  clear in the question
Qty Column --------- Est cost column -----    Mark up Cost Column  -   Did add Total cost column
4 pcs-                       $ 2000.00  --------------$  50.00 --------------- $ 2050.00
2 pcs ------------------$ 1500.00  --------------=$100.00 ----------------$1600.00
Total   qty  6  pcs-----$ 3500.00------------------$150.00---------------$ 3650.00
Avg  Cost                                                                                      
$3650..00/6=  608.33
my field name
=Sum(Fields!COSTAMOUNT.Value)  +  want to add cost amount and Mark up and divide with qty total
=Sum(Fields!COSTMARKUP.Value)
=Sum(Fields!QTY.Value)
please help how can I write it to get the result

Similar Messages

Maybe you are looking for