Page 1 of 2 1 2 >
Topic Options
#11027 - 01/30/08 11:40 AM Summarize in GridView
Andre Kuehnemund Offline
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]
Retired_Guy Offline
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
#11052 - 01/30/08 06:24 PM Re: Summarize in GridView [Re: Retired_Guy]
Andre Kuehnemund Offline
Adagio Guru

Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
Thanks, Andrew. I think this is another report we'll have to recreate in Crystal Reports. The 'Average' suggestion won't really work for us since we'll have mutiple customers listed in this report - each with different YTD numbers. If I select to display the average for that column, it's going to give me the average for all the customer's YTD figures. We don't have any use for that number.
I guess you're correct: gridView is good for a quick and dirty look at the numbers. For more sophisticated reports, Crystal is probably the way to go.

thanks again.

Andre

Top
#11057 - 01/30/08 11:06 PM Re: Summarize in GridView [Re: Andre Kuehnemund]
Steve Schwartz Offline
Adagio God

Registered: 03/10/02
Posts: 4499
Loc: Wynnewood, PA
Hi Andre

Actually Andrew's idea about using Average will work - give it a try and you'll see. It computes the average per customer (or whatever field you summarize on), not the average for all customers.

Steve

Top
#11070 - 01/31/08 02:11 PM Re: Summarize in GridView [Re: Steve Schwartz]
Andre Kuehnemund Offline
Adagio Guru

Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
Hi Steve:

It still wouldn't work. I may have a customer called ABC with 2 orders (e.g. $2000 and $2400) and 4 line items each. If I were to summarize by customer, I would get an average of $2200 and not the total dollar amount ($4400) for that customer.
If I were to summarize by order number, I would get the correct average numbers ($2000 & $2400), but then I would still have to manually add up both to get the total for that particular customer. Does this make sense?

Andre

Top
#11072 - 01/31/08 02:18 PM Re: Summarize in GridView [Re: Andre Kuehnemund]
Retired_Guy Offline
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
#11075 - 01/31/08 02:35 PM Re: Summarize in GridView [Re: Retired_Guy]
Andre Kuehnemund Offline
Adagio Guru

Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
Hi Andrew:

Thanks! I thought that setting (under EDIT, DEFAULTS) applies to the entire view. How do I set this for each individual column?

Andre

Top
#11079 - 01/31/08 02:52 PM Re: Summarize in GridView [Re: Andre Kuehnemund]
Retired_Guy Offline
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]
Andre Kuehnemund Offline
Adagio Guru

Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
Got it. Thanks!

Andre

Top
#11087 - 01/31/08 04:35 PM Re: Summarize in GridView [Re: Andre Kuehnemund]
Andre Kuehnemund Offline
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
Page 1 of 2 1 2 >


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 101 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14418 Topics
70475 Posts

Max Online: 432 @ 01/20/25 10:17 PM
February
Su M Tu W Th F Sa
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