[Sales] + [Profit] 식을 ZN( [Sales] ) + ZN( [Profit] )과 같이 수정합니다.SUM( [Sales] ) + SUM( [Profit] ) 식을 ZN( SUM( [Sales] )) + ZN( SUM( [Profit] ))과 같이 수정합니다.[Region] = NULL 식을 ISNULL( [Region] )과 같이 수정합니다.IF [Region] = "North Pole" THEN [Sales] END
IF [Region] = "Central"
THEN [Sales]
ENDIF [Region] = "North Pole"
THEN [Sales]
ELSE 0
ENDIF [Region] = "Central" THEN [Sales] END - IF [Region] = "West" THEN [Sales] END
SUM( IF [Region] = "Central" THEN [Sales] END ) - SUM( IF [Region] = "West" THEN [Sales] END )
참고: 이 옵션은 조건 문에 사용된 차원이 뷰에 포함되는 경우 작동하지 않습니다. 위의 예는 [Region(지역)]이 뷰에 포함되는 경우 작동하지 않습니다.
{ FIXED : SUM( IF [Region] = "Central" THEN [Sales] END ) }
-
{ FIXED : SUM( IF [Region] = "West" THEN [Sales] END ) }
참고: 뷰의 차원을 위의 계산에 추가해야 할 수 있습니다(FIXED 뒤에 추가).
WINDOW_SUM( SUM( IF [Region] = "Central" THEN [Sales] END )) - WINDOW_SUM( SUM( IF [Region] = "West" THEN [Sales] END ))테이블 함수를 사용하는 다른 예는 뷰에서 동일한 두 측정값 사이의 차이 계산을 참조하세요.
FLOAT( [Price] )FLOAT( RIGHT( [Price], LEN( [Price] ) - 1 ))FLOAT(
IF ISNULL( FLOAT( LEFT( [Price],1 )))
THEN RIGHT( [Price], LEN( [Price] ) - 1 )
ELSE [Price]
END001474028

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.