I need to calculate the age distribution of warehouse. I made a formula which shows stock value if there is no events for stock item in five years.
{@sum}
if ({@year} < ({?year}-4)
and (sum ({@stock_event}, {@year}) > 0))
then {stock.value}
else 0
But I also need total stock value of stock items more than five years old. And crystal don't summarize formula {@sum}. How I can't summarize it?
{@sum}
if ({@year} < ({?year}-4)
and (sum ({@stock_event}, {@year}) > 0))
then {stock.value}
else 0
But I also need total stock value of stock items more than five years old. And crystal don't summarize formula {@sum}. How I can't summarize it?