Salesforce 보고서 기본 필터에서 상대 날짜 값을 사용할 수 있지만 'Year to Date(연간 누계)' 또는 'Last Year to Date(작년 연간 누계)'에 기반한 필터를 사용하려면 필터와 필터 논리를 추가해야 합니다.
1) 현재의 'Year to Date(연간 누계)' 기준으로 보고서 필터 2개를 추가합니다
2) 작년의 'Year to Date(연간 누계)'를 기준으로 보고서 필터 2개를 추가합니다
3) 필터 논리를 사용해 두 필터를 결합합니다
새로운 사용자 정의 필드를 사용해서 요구 사항을 충족할 수도 있습니다. 'Opportunities(기회)' 개체를 사용하는 경우는 다음과 같습니다.
1. Setup(설정)으로 이동합니다
OR (
/* Check whether close date is YTD */
AND (
DATE ( YEAR ( TODAY() ), 1, 1 ) <= CloseDate,
CloseDate <= TODAY()
),
/* Check whether close date is YTD-1 */
AND (
DATE ( YEAR ( TODAY() )-1, 1, 1 ) <= CloseDate,
CloseDate <= IF (
/* Calculate TODAY()-1 YEAR, prevent trying to set last year to Feb 29th */
AND (
MONTH( TODAY() ) = 2,
DAY( TODAY() ) = 29
),
DATE( YEAR( TODAY() ) - 1, 2, 28),
DATE( YEAR( TODAY() ) - 1, MONTH( TODAY() ), DAY( TODAY() ) )
)
)
)
8. Next(다음)를 클릭합니다.
9. 원하는 Field Level Security(필드 수준 보안) 설정을 입력하고 Next(다음)를 클릭합니다.
10. 페이지 레이아웃에 확인란을 표시할지 선택한 다음 Save(저장)를 클릭합니다.
참고 항목
수식 필드 작성
000388018

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.