travelerII
Technical User
I have sales $ information that is grouped by dimension, in this case, manufactured, stock, other, freight, etc. We calculate freight and other in two different ways on sales invoices. So I had to write a formula to capture the second amount from the invoice elements. I placed the sum of this formula in the footer below my groups. Now I need to add the two freight together and the two others together for a total. I was able to write a formula that did the trick but only for which ever group was on the last line of the group sort. Since I can't have both freight and other on the bottom line of the groups how do I solve this problem.
Here is the formula I wrote to add the two freights together.
if {@Dimensions} = "Freight and Handling" then
Sum ({@Current YTD Freight})+ Sum ({@Current YTD Amount}, {@Dimensions})
else
0
Any help is appreciated.
Here is the formula I wrote to add the two freights together.
if {@Dimensions} = "Freight and Handling" then
Sum ({@Current YTD Freight})+ Sum ({@Current YTD Amount}, {@Dimensions})
else
0
Any help is appreciated.