Appreciate help if anybody let me know how to acheive "PreviousValue" cloumn as shown below in MSAccess
I have records stored in table for various categories other than "Overall" and based on ID/Name/Office/product/Category combination I want to acheive previous value column thorugh MS Access function/efficient query
ID Name Office Product Overall Month Value Previous
228 Woodlands london Europe Sales 201106 6 0
228 Woodlands london Europe Sales 201202 3 6
228 Woodlands london Europe Sales 201207 4 3
228 Woodlands london Europe Overall 201106 6 0
228 Woodlands london Europe Overall 201202 3 6
228 Woodlands london Europe Overall 201207 4 3
228 Woodlands london Europe Exetion 201202 6 0
228 Woodlands london UK Exetion 201202 6 1
228 Woodlands london UK Exetion 201106 1 0
228 Woodlands london Europe Exetion 201207 6 6
228 Woodlands london Europe Content 201106 6 0
228 Woodlands london UK Content 201106 1 0
228 Woodlands london Europe Content 201202 3 6
228 Woodlands london UK Content 201202 1 1
228 Woodlands london UK Content 201207 1 1
228 Woodlands london Europe Content 201207 4 3
Thanks in Advance !!
Result of query--Which is not as expected because of Top1 function i guess, the correct output is as shown in image below
ID Name Office Product Category Date Month ValuePrevious
228 Investors london Europe Content 01/06/2011 201106 6 0
228 Investors london Europe Content 23/02/2012 201202 3 6
228 Investors london Europe Content 01/07/2012 201207 4 6
