Tableau Prep Builder 2021.3.1부터 시작 및 종료 날짜 사이에 매일(또는 다른 날짜 수준)에 해당하는 행을 추가하는 단계를 만들 수 있습니다. 지침은 순차적 데이터의 간격 채우기를 참조하세요.
Tableau Prep Builder
Tableau Desktop
DATETRUNC('week',WINDOW_MIN(MIN([Date])))DATEADD('week',(INDEX() - 1),[Start Date])IF [Running Date] >= WINDOW_MAX(MAX([Date]))
AND [Running Date] <= WINDOW_MAX(MAX([Closed Date]))
THEN 1
ELSE 0
END
IF INDEX() = 1 THEN WINDOW_SUM([isActive])END*선택 사항: 종료 날짜가 없는 레코드를 포함하려면 IFNULL()을 사용하여 [Closed Date](종료 날짜) 필드의 NULL 값을 임의의 미래 날짜로 변환합니다.IFNULL([Closed Date],#1/1/2999#)
001458045
4 KB
18 KB
72 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.