Hello All
I have a problem with calculation within groups. Here is the sample data -
I have 5 groups (5 days) showing the top 20 sales prices of items for that day.
I would like to get the median and average by each group and show it within the group.
When I do avg(price) or median(price) it shows the median or avg of the entire 100 recs. How can I calculate it by each group?
Kindly help
thread767-676945
I have a problem with calculation within groups. Here is the sample data -
I have 5 groups (5 days) showing the top 20 sales prices of items for that day.
I would like to get the median and average by each group and show it within the group.
When I do avg(price) or median(price) it shows the median or avg of the entire 100 recs. How can I calculate it by each group?
Kindly help
thread767-676945