필터 유형 및 사용 사례에 따라 적합한 해결책이 다를 수 있습니다. 아래의 모든 옵션은 이 문서의 오른쪽 첨부 파일 섹션에서 다운로드할 수 있는 패키지 통합 문서에 설명되어 있습니다.
Tableau Desktop 2020.1부터 동적 매개 변수를 사용하면 계산을 매개 변수의 기본값으로 사용할 수 있습니다. 매개 변수 만들기를 참조하십시오.
기준 날짜 필터는 선택한 기준 범위(예: 어제)에 따라 날짜를 자동으로 업데이트합니다. 나중에 사용자가 기준 범위를 변경할 수 있습니다. 자세한 내용은 기준 날짜 필터 만들기를 참조하십시오.
최신 날짜 사전 설정 기능을 사용합니다. 최신 날짜 사전 설정 기능은 통합 문서를 열 때마다 최신 날짜로 업데이트합니다.
참고: 이 기능은 불연속형 날짜 목록 필터에만 사용할 수 있으며 날짜 범위 필터 또는 사용자가 달력에서 날짜를 선택할 수 있는 필터에는 사용할 수 없습니다.
사용자가 기본 키워드(예: "yesterday") 또는 원하는 날짜를 입력하여 뷰를 필터링할 수 있도록 매개 변수를 만듭니다. "yesterday" 값은 계산된 필드에서 동적으로 어제 날짜를 반환하도록 설정할 수 있습니다. 이 방법은 날짜의 드롭다운 목록이나 슬라이더를 제공하지 않으며 매개 변수에 날짜 하나만 입력할 수 있다는 것에 주의하십시오.
IF [Enter 'Yesterday' or a Date] = "Yesterday"
THEN TODAY() - 1
ELSE DATE( [Enter 'Yesterday' or a Date] )
END
[Date Conversion] = [Order Date]
1단계: 시작 및 끝 날짜 매개 변수 만들기
2단계(선택 사항): 필터를 제어하는 매개 변수 만들기
3단계: 필터로 사용할 계산된 필드 만들기
[Order Date] >= [Start Date]
AND [Order Date] <= [End Date]
[Choose Filter Range] = "All values"
OR
( [Choose Filter Range] = "Start to End Date"
AND [Order Date] >= [Start Date]
AND [Order Date] <= [End Date]
)
OR
( [Choose Filter Range] = "Last 7 days"
AND [Order Date] > DATEADD('day',-7,TODAY())
AND [Order Date] <= TODAY()
)
OR
( [Choose Filter Range] = "Start Date to Today"
AND [Order Date] >= [Start Date]
AND [Order Date] <= TODAY()
)
OR
( [Choose Filter Range] = "1 Month before End Date"
AND [Order Date] >= DATEADD('month', -1, [End Date])
AND [Order Date] <= [End Date]
)
향후 제품 릴리스에 이 개선 사항을 포함하도록 지지 의견을 제출하려면 다음 커뮤니티 아이디어에 한 표를 행사하십시오.
Tableau Desktop 2018.2부터 타사 확장 기능을 Tableau 대시보드에 추가하여 기능을 개선할 수 있습니다. 따라서 원하는 필터 동작을 제공하는 확장 기능을 구할 수도 있습니다. 자세한 내용은 대시보드 확장 프로그램 사용 및 Extensions for Tableau Dashboards(Tableau 대시보드용 확장 프로그램)를 참조하십시오.
001473758
2431 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.