Viewing 15 posts - 61 through 75 (of 80 total)
Chaps,
Just to let you know, all working properly when integrated into my real database, so thanks for your efforts and you can all feel good about yourselves now !...
September 1, 2011 at 4:48 am
OK thanks chaps, I'll just have a play and try to integrate. Really appreciate your time here.
Greg
August 31, 2011 at 9:43 am
Yes, thanks. For this test data
SELECT 'Small House', 'A', 2010/02/01', 10, 100 UNION ALL
SELECT 'Big House', 'B','2010/06/01', 2, 200 UNION ALL
SELECT 'Big House', 'A','2010/06/01', 20, 2000 UNION ALL...
August 31, 2011 at 8:58 am
OK, I see what's happening here a little more clearly, at least with the tally table.
However, would you believe it (;-)) I am still a bit stuck, as I...
August 31, 2011 at 8:42 am
If I wanted to sum up more than 1 metric in this way, how could this be done.
I've tried to amend the code, but I'm not sure I understand...
August 31, 2011 at 6:52 am
Right, thanks for this, have submitted the code to 'extreme' stress testing and it's working well. I'll now integrate it and let you know. Thanks very much for you help,...
August 31, 2011 at 5:22 am
Ah, thanks. The numbers don't run sequentially, I should have randomised my test data to make it more realistic. Sorry.
Regards, Greg
August 31, 2011 at 4:35 am
Right,
I was a bit confused re: the test data. I guess it's an easy way to insert it, as I didn't provide the insert values.
On to the next point, if...
August 31, 2011 at 4:31 am
Confirming this:
Month 4 would have metric2 as 9 - cos it would be 4+3+2.
Month 5 would have metric2 as 12 (5+4+3).
The problem would be that (and this is my fault...
August 31, 2011 at 4:08 am
gosh, i hope you feel better now, having got that off you chest,
Greg
August 19, 2011 at 9:56 am
Thanks for your efforts, that is very useful and much appreciated.
Regards, Greg
August 18, 2011 at 2:43 am
Yep thanks - I've started with a list of all locations and dates, then left joined the other metrics in !
August 15, 2011 at 7:48 am
Thanks Phil,
I appreciate the help (on a Monday AM in particular) and shall beetle off to give this a try.
Regards, Greg.
August 15, 2011 at 3:04 am
Thanks Phil,
Supplementary Question:
If all of these rows were in 1 table - could you think of a solution ? Maybe something like selecting from itself ?
Regards, Greg.
August 15, 2011 at 2:49 am
Not really, it wouldn't be a problem when plotting as a visualisation.
July 6, 2011 at 7:10 am
Viewing 15 posts - 61 through 75 (of 80 total)