이 계산을 작성하려면 아래 단계에 따라 첨부된 통합 문서를 참조하기 바랍니다.
SUM([Sales])-SUM([Sheet1 (target)].[Target])3. 계산 필드 Fail 또는 Succeed를 만들어 영역이 특정 하위 범주의 판매 목표에 도달했는지 확인합니다.
if [Diff]>0 then "Succeed" else "Fail" END
4. Fail 또는 Succeed를 열에, Region을 행에, Sub-Category를 세부 정보에 추가합니다.
5. Sub-Category를 열에 추가합니다.
6. Sub-Category를 마우스 오른쪽 버튼으로 클릭하고 Measure(측정) > Count(Distinct)를 선택합니다.
1. 여러 계산 필드를 만들어 Succeed 및 Fail에 대한 COUNTD([Sub-Category])를 계산합니다.
Succeed:
if [Diff]>0 then COUNTD([Sub-Category]) ENDFail:
if [Diff]<=0 then COUNTD([Sub-Category]) END2. 각 영역의 Fail 또는 Succeed 합계를 계산하기 위한 계산 필드 Solution_Fail 또는 Succeed를 만듭니다.
if [Diff]>0 then window_sum([Succeed]) else window_sum([Fail]) END
3. Solution_Fail 또는 Succeed의 테이블 계산을 설정하고, Sub-Category를 사용하여 계산합니다.
4. Filter 계산 필드를 만들어 하나의 값만 뷰에 표시되도록 합니다.
if [Diff]>0 then window_sum([Succeed])=running_sum([Succeed]) else window_sum([Fail])=running_sum([Fail]) END5. Filter의 테이블 계산을 설정하고, Sub-Category를 사용하여 계산합니다.
001459711

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.