#11027 - 01/30/08 11:40 AM
Summarize in GridView
|
Adagio Guru
Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
|
I'm creating another report and have run into the following issue: Two of the fields I'm using are INV TOTAL - YTD and TOTAL DOLLAR VALUE (of the last invoice). Let's say, I have a customer called WINNER. In this report, I have 10 lines for this customer that all show $11,760 in the INV TOTAL -YTD column. If I select the INV TOTAL - YTD field using the SET SORT ORDER and then click on the SUMMARIZE button, GridView properly summarizes it by displaying $11,760 as the total sum. However, if I set the search order any other column (e.g. the TOTAL ORDER VALUE column) and click on the SUMMARIZE button, the INV TOTAL - YTD column suddenly adds up those $11,760 however many times it appears in the list in this case 10 times) and I end up with a sum of $117,600 - which is obviously wrong. How do I get around or fix this? In my opinion, GridView should 'know' that any YTD, LY, PTD like column should only count once.
Another question along those same lines is this: Is there a way to say I want to get (sub)totals for certain columns and not for others? Would I have to use Crystal reports for something like that?
Thanks much!
Andre
|
Top
|
|
|
|
#11032 - 01/30/08 01:43 PM
Re: Summarize in GridView
[Re: Andre Kuehnemund]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Hello Andre,
The problem is that the master file (which contains the YTD figures) is being read (and totalled) for each transaction. I think you'll find that Average on those columns will result in the correct total being displayed.
BTW - Summary figures are shown for those columns that have totals (or averages) set for the column. If you don't want them summarized (or the numbers aren't meaningful) then turn off the column total.
Also, as an aside, when I here someone talking about various subtotals and totals, I'd normally recommend Crystal over GridView. GridView is designed to handle fast, on screen inquiries, where the numbers are moe important than the presentation.
_________________________
Andrew Bates
|
Top
|
|
|
|
#11072 - 01/31/08 02:18 PM
Re: Summarize in GridView
[Re: Andre Kuehnemund]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Hello Andre,
I was suggesting you select "Average" for the YTD sales column and "Total" for the Order Amount column.
Make sense?
_________________________
Andrew Bates
|
Top
|
|
|
|
#11079 - 01/31/08 02:52 PM
Re: Summarize in GridView
[Re: Andre Kuehnemund]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Hi Andre,
Right Mouse click on the column heading and select the summary operation you want on that column (Total, Min, Max, Average).
_________________________
Andrew Bates
|
Top
|
|
|
|
#11084 - 01/31/08 04:20 PM
Re: Summarize in GridView
[Re: Retired_Guy]
|
Adagio Guru
Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
|
|
Top
|
|
|
|
#11087 - 01/31/08 04:35 PM
Re: Summarize in GridView
[Re: Andre Kuehnemund]
|
Adagio Guru
Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
|
Andrew: Is it possible to upload screenshots? I followed your suggestion and set the YTD column to display the 'average'. That part works. However, I can't use 'Total' for the 'Total Order/Dollar Value' column because that adds up several lines - all with the same dollar amount, all with the same order number. So, instead of showing me '$1603.40' for this customer and his one order number, it shows me six times $1603.40 and a total of $9620.40. The order number is the same for each one of the $1603.40 lines. I can't change this to display the 'average' amount either because I have customers with more than one order. In that case, I may have five lines with, say, $1000 as the Total Order Value for Order # 100 and another 6 lines with $1500 as the Total Order Value for Order # 101 (all just examples). If I were to use average in that example, it would give me the average of those two order amounts - not the sum of the two. if I were to select 'Total', it would multiply $1000 by 5, mulitply $1500 by 6 and give me that sum of that. Neither is what I want/need.
Anyway, a screenshot would maybe better show what I'm trying to say. Please let me know. Thx,
Andre
|
Top
|
|
|
|
#11093 - 01/31/08 05:26 PM
Re: Summarize in GridView
[Re: Andre Kuehnemund]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Hello Andre,
OK - I'm lost.
Are you trying to do Customer by Product Sales? If so, then the place to report from is SalesAnalysis.
Can you give me the column headings of your report?
_________________________
Andrew Bates
|
Top
|
|
|
|
#11095 - 01/31/08 06:10 PM
Re: Summarize in GridView
[Re: Retired_Guy]
|
Adagio Action Team
Registered: 03/09/99
Posts: 11618
Loc: Vancouver, BC Canada
|
In thinking about this, you probably should not be using fields such as Total Order/Dollar Value for the summary operations you currently are doing. If you have detail in your View (item number, etc), then you really should be using fields like Extended Price, Extended Order Price and using the Total summary operation (not average). Because the sum of the details should be equal to the total (and if not, an integrity error would exist in your data), you should get the same number in the Total by Document # row as the Total Order/Dollar Value.
And also as Andrew posted above, SalesAnalysis keeps track of all sales (invoices and credit notes) at a detail level, making all of this fit nicer with GridView.
_________________________
Regards, Softrak Tech Support
|
Top
|
|
|
|
#11098 - 01/31/08 07:09 PM
Re: Summarize in GridView
[Re: Softrak Support]
|
Adagio Guru
Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
|
This may actually work. I was able to select the two columns you had suggested and the numbers look right. I'm going to look into it some more, run the Reportmaster report and compare the two... Thanks for the suggestion! In the meantime, here is the report definition from Reportmaster:
- The columns in this report from left to right are: GROUP REP CUSTOMER NAME LY-YTD CY-YTD DIFFERENCE LAST ORDER - The report uses the S/A Transactions table - Fields selected from that table are: CUSTOMER GROUP (Formula is characters 1 & 2 of the SALESPERSON field) REP (Formula is characters 1-3 of the SALESPERSON field) LY-YTD (Formula: IF D<=E-365 THEN A (A=Amount,D=date,E=End Date:)) CY-YTD (Formula: IF D>=S and D<=E then A (A=Amount, D=Date, S=Start Date:, E=End Date) DIFFERENCE (Formula: ID D<=E-365 then -A else D>=S and D<=E then A (A=Amount, D=Date, S=Start Date:, E=End date:))
I believe the 'NAME' and '-DATE' fields are being pulled from the AR CUSTOMER table. That table is listed under RELATED DATA.
Under REPORT SELECTION for this report, the following formula is listed:
D>=S-365 and D<=E and I[1~3]<>"MIS" D = Date S = Start Date: E = End Date: I = Item
When I select PRINT REPORT, I get asked for the Start and End Date and then the report runs.
If all this is in Sales Analysis, then I would be happy to use that instead of GridView or Crystal. I'm not an ACCPAC or ADAGIO expert by any means. I'm simply trying to get all those Reportmaster reports I inherited ported overt to either GridView, Adagio or something else that's not DOS based.;-)
Cheers,
Andre
|
Top
|
|
|
|
|
0 registered (),
77
Guests and
3
Spiders online. |
Key:
Admin,
Global Mod,
Mod
|
|
1872 Members
5 Forums
14529 Topics
70939 Posts
Max Online: 432 @ 01/20/25 10:17 PM
|
|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
|
|
|
|
|