internetuser09
November 18th, 2008, 03:54 AM
I woluld greatly appreciate any assistance with this problem since I have been attempting to solve it for weeks to no avail.
Basically, I am trying to get the average of two fields after grouping them and plotting them on a graph (effectively grouping by the X variable: Month)
The dataset looks like this:
Group1 Group2 Month Spent Transactions
Z A1 May $56,346 6
Z A1 June $46 6
Z A2 May $456 5
Z A2 June $45 4
D B1 May $756 3
D B1 June $45 2
D B3 May $45 1
My report has many drill downs
I group by Group1 then Group2.
I have a graph split by month on the x axis in each group.
I want to get the average transaction $ amount per month after the groupings.
That means the total of Spend in the grouped month divided by the total transactions of the grouped month.
At the moment, I am getting the sum of each average for each month, which is wrong.
Can you please advise how I can perform the calculation correctly?
Basically, I am trying to get the average of two fields after grouping them and plotting them on a graph (effectively grouping by the X variable: Month)
The dataset looks like this:
Group1 Group2 Month Spent Transactions
Z A1 May $56,346 6
Z A1 June $46 6
Z A2 May $456 5
Z A2 June $45 4
D B1 May $756 3
D B1 June $45 2
D B3 May $45 1
My report has many drill downs
I group by Group1 then Group2.
I have a graph split by month on the x axis in each group.
I want to get the average transaction $ amount per month after the groupings.
That means the total of Spend in the grouped month divided by the total transactions of the grouped month.
At the moment, I am getting the sum of each average for each month, which is wrong.
Can you please advise how I can perform the calculation correctly?