Hey,
I created a report, wich you can see attached. I created a table where for each product the last six orders are shown. Additionally the yield for each order is shown.
If there are less than 4 orders nothing is shown. So far, so good

I did this by creating a variable "RowCount" which counts the rows for each product and grouped on the ProductNo.
Now I want to add two aggregations:
1. an average Yield on the two newest orders (RowCount < 3)
2. an average Yield on the orders with RowCount between 3 and 8
I did it by creating an Aggregation and using the filter, but this does not work because aggregations are calculated after finishing the group, I think. So stunningly only the first one showed a result but it was the Ave over all Orders.
Can anybody help me here?
Thanks,
regards,
JRS