DATEDIFF('day', LOOKUP(MIN([Order Date]),-1), MIN([Order Date]))
DATEDIFF() 함수는 지정된 날짜 부분의 수를 구합니다. 이 경우에는 두 날짜 사이의 일수를 구합니다. 시작 날짜는 LOOKUP(MIN([Order Date]),-1)이며, 한 행 이전 날짜를 반환합니다.
테이블 함수를 다르게 계산하여 계산을 추가로 사용자 지정할 수 있습니다. 이 예제의 8단계에서 모든 고객에 대한 카운트를 다시 시작합니다. 변경할 수 있는 테이블 함수에 대한 자세한 내용은 테이블 계산으로 값 변환을 참조하십시오.
001458030
1206 KB

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.