크로스탭에서 연도 및 월 매개 변수를 사용하여 누계 결과 및 총합계를 필터링하는 방법
RUNNING_SUM(SUM([Sales]))6. 계산된 필드를 만들고 이름을 Running Total Sales(Filtered)(누계 매출(필터링됨))로 지정합니다.
IF FIRST() = 0
THEN
WINDOW_SUM(
IF LOOKUP(ATTR(DATEPART('year',[Order Date])),0) = DATEPART('year',[Year]) AND
LOOKUP(ATTR(DATEPART('month',[Order Date])),0) = DATEPART('month',[Month])
THEN
[Running Total Sales]
END)
END
7. Order Date(주문 날짜)를 마우스 오른쪽 버튼으로 클릭하고 Duplicate(복제)를 클릭합니다.LOOKUP(ATTR(DATEPART('year',[Order Date])),0) = DATEPART('year',[Year]) AND
LOOKUP(ATTR(DATEPART('month',[Order Date])),0) = DATEPART('month',[Month])
18. Filter(필터)를 Filters(필터) 카드에 배치하고 True만 선택합니다.001458747

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.