index()!=1添付のワークブックの例では、"Superstore (スーパーストア)" サンプル データ セットを使用して次の方法を示しています。
IF [Segment] = "Consumer" THEN [Profit] END
WINDOW_MIN( SUM([Corporate Sales ])) - WINDOW_MIN( SUM([Consumer Sales]))
Tableau Prep でメジャー値をピボット処理します。注: 計算フィールドは Tableau Desktop でピボットできないため、ピボットは Tableau Prep で行う必要があります。
Tableau Desktop でビューを作成する
IF MIN([Pivot1 Names]) = 'Sales' THEN SUM([Sales]) ELSEIF MIN([Pivot1 Names]) = 'Dummy Measure' THEN ZN(LOOKUP(SUM([Sales]),-1)) - (LOOKUP(SUM([Sales]),-3)) END
IF MIN([Pivot1 Names]) = 'Dummy Measure' THEN [New Measure Values] END
001458133
1853 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.