You can't insert sums on a formula that contains next() or previous() functions, since they are based on a sequence of records. You could use a variable to sum that or you could use the running total solutions, but both would require the result in the group footer.
It appears that you have one sales value per trnxID--if this is true, you could insert a maximum on sales value and then drag the result into the group header.
Thank you for this. However I was planning to use them Sim function in a crosstab within the same report. I cannot see how the running total would work in this instance.
Hi Ibass,
Sorry i didnt make myself clear
Your Max suggestion works perfectly in the detail section, but I need to sum all the max figures and combine the results into a crosstab.
The crosstab will show Days across the top and the total sales for that day in the detail of the crosstab.
This is the only accurate field I can use within the database. My prefered method would be multiplying retail price by quantity, but this way does not take into account variable promotional rates. Currently our promotion field is not working as it should so this the only other field I can use.
What version of CR are you using? You can use running totals in a crosstab. You would choose sum of sales value, evaluate on change of group trnxID. I would put the crosstab in the report footer though.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.