UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Summary Expression    
 
   
jbcarmic
post Jun 27 2007, 03:32 PM
Post #1

New Member
Posts: 10
From: Seattle Area



I have a table which is laid out similiar to this:

DealerID| Date| Metric1| Metric2| Metric3
A030| 1/1/2007| x
A030| 2/1/2007| x
A030| 3/1/2007| x
A030| 4/1/2007| x
A030| 5/1/2007| x
A030| 6/1/2007| x
B112| 1/1/2007| x
B112| 2/1/2007| x
B112| 3/1/2007| x

In my query i am attempting to be able to get a summary that would show year to date numbers. I would like to be able to select the month in which the YTD values were returned.

Is this possible?

Thank you in advance for any assistance anyone can provide.

JC
Go to the top of the page
 
+
R. Hicks
post Jun 27 2007, 03:38 PM
Post #2

UA Forum Administrator
Posts: 38,131
From: Birmingham, Alabama USA



I would think you could possibly use a Totals Query to get the desired values ...

.... but it appears you have a more serious problem in your table structure.

Metric1, Metric2, and Metric3 appear to be "repeating groups" and will cause you a lot of problems in this application.
Can you explain what these values represent in your app ???

RDH
Go to the top of the page
 
+
jbcarmic
post Jun 27 2007, 03:55 PM
Post #3

New Member
Posts: 10
From: Seattle Area



Metric1 = Service Sales
Metric2 = Parts Sales
Metric3 = Warranty Sales
etc...

There are actually about 20 different metrics that i have data for.

Thanks,

JC
Go to the top of the page
 
+
R. Hicks
post Jun 27 2007, 04:16 PM
Post #4

UA Forum Administrator
Posts: 38,131
From: Birmingham, Alabama USA



These should be seperate entrties in another table that is joined back to this table.
You may want to post your current structure so someone can give you a hand.

RDH
Go to the top of the page
 
+
jbcarmic
post Jun 27 2007, 04:24 PM
Post #5

New Member
Posts: 10
From: Seattle Area



What part of the current structure do i need to post?

Thanks,

JC
Go to the top of the page
 
+
Alan_G
post Jun 27 2007, 09:36 PM
Post #6

Utterly Yorkshire and Forum/Wiki Editor
Posts: 15,895
From: Devon UK



Ermmm.....all of it (IMG:http://www.utteraccess.com/forum/style_emoticons/default/sad.gif)
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 18th June 2013 - 05:52 PM