는/사람이 ID에 내가 "전체"이외의 다양한 범주에 대해 테이블에 저장된 기록이 이전 기록 - MS 액세스
MSACCESS
에 아래 그림과 기반 나를는 "PREVIOUSVALUE"cloumn을 acheive하는 방법을 알려 경우 도움 감사합니다 이름/사무실/제품/I는 MS 액세스 기능 thorugh 이전 값 열을 acheive 할 범주 조합/효율적인 쿼리를 사전에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
감사합니다!
쿼리의 결과 - 때문에 내가 추측 TOP1 기능의 예상과 올바른 출력은
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
게시하지 마십시오 사진을 기반으로
새로운 쿼리. 매우 심하게 형식화 된 데이터조차도 그림보다 낫습니다. 데이터를 게시하고 나는 확실히 대답 할 수 있습니다. – Fionnuala
나는 excel 장 – user1268559
를 올려주기의 선택권을 볼 수 없었다 당신의 꼬리표는 MS Access를 말한다. 테이블을 열고 게시물에 몇 줄을 잘라 붙여 넣습니다. 최악의 경우 최악의 경우 입력하십시오. – Fionnuala