Previous Thread
Next Thread
Print Thread
Joined: Oct 2016
Posts: 145
V
zaam.ca
zaam.ca
V Offline
Joined: Oct 2016
Posts: 145
Is there a way in GV to Summarize a view and get as a result the most recent record for certain columns?

For example, from the OE Sales history table, I want to be able to do a Summary Filter and get the most recent Unit Price sold by customer, by item.

thanks.


Vickie Cegliastro
zaam.ca
613-532-6229
Joined: Jun 1999
Posts: 4,506
Adagio God
Adagio God
Joined: Jun 1999
Posts: 4,506
Vickie:

I'm not sure I'm understanding your requirements correctly.

You need a View that shows for each customer the last time they purchased each item ever sold to that customer and what they paid for it?

Cust A
Item A Jan 18 $5.00
Item B Apr 25 $4.00
Item C Jan 18 $3.25

Where the date is the last time that item was sold to Cust A and $ is the Unit price on that sale?

This isn't really a summary, more like a super filter.

I believe we have done something like this before but off the top of my head I don't recall how we go it to work. Something I can look at when I'm back in the office on Tuesday.


Douglas Dickie
AccSys Solutions Inc
Phone: 1.888.534.4344
ddickie@accsyssolutions.com
Joined: Mar 2002
Posts: 4,571
Adagio God
Adagio God
Joined: Mar 2002
Posts: 4,571
Hi Vickie

I do this frequently. I create one View that lists all the details, sorted by a composite field called CustItem and a secondary sort DESCENDING on date.

Then I create a second View with the same fields except for Unit Price and an identical composite field. This one is sorted and summarized by CustItem. I create a calculated field that pulls the Unit Price from the first View. Because it is sorted Descending, it will pick the most recent Unit Price.

Steve

Joined: Oct 2016
Posts: 145
V
zaam.ca
zaam.ca
V Offline
Joined: Oct 2016
Posts: 145
Thank you so much Steve, it worked like magic!


Vickie Cegliastro
zaam.ca
613-532-6229

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
3 members (Dan_Desautels, Bruce Gardner, Douglas Dickie), 115 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,679
Posts71,626
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
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
Powered by UBB.threads™ PHP Forum Software 8.0.0