GoatieEddie
Technical User
Hi all,
I think this should be easy but just think where to start!
I have a VERY large file that includes a bunch of clients and the daily value of their account. So three columns: CLIENT, DATE, VALUE
For various reasons, the extract isn't run each day so the dates will not be consecutive.
What I want to do is pull out the various occurrences when the difference in value of one client from one date to the previously loaded date is greater than a certain amount.
eg Client A date1 - Client A nearest date to date1 >100
I want to loop the whole client base and time base and end up with a table showing CLIENT DATE DIFFERENCE. Clients could appear more than once in this table.
I am pretty good at loops etc but don't really know where to start with the comparisons within a database. The file is far too big for excel otherwise I would do it in there!
Can someone start me off in the right direction?
Many thanks,
GE
I think this should be easy but just think where to start!
I have a VERY large file that includes a bunch of clients and the daily value of their account. So three columns: CLIENT, DATE, VALUE
For various reasons, the extract isn't run each day so the dates will not be consecutive.
What I want to do is pull out the various occurrences when the difference in value of one client from one date to the previously loaded date is greater than a certain amount.
eg Client A date1 - Client A nearest date to date1 >100
I want to loop the whole client base and time base and end up with a table showing CLIENT DATE DIFFERENCE. Clients could appear more than once in this table.
I am pretty good at loops etc but don't really know where to start with the comparisons within a database. The file is far too big for excel otherwise I would do it in there!
Can someone start me off in the right direction?
Many thanks,
GE