注: ワークブックのキャプションの表示/非表示を切り替えてください。
SUM([Sales]) / ATTR({FIXED : SUM([Sales])})
ATTR( {EXCLUDE [Category]: SUM([Sales])} ) / ATTR( {FIXED : SUM([Sales])} )
{FIXED [State]: SUM([Sales])}
SUM( {FIXED [State]: SUM([Sales])} ) / ATTR( {FIXED : SUM([Sales])} )INCLUDE および EXCLUDE 詳細レベル表現は、ディメンション フィルターの後に評価されるため、ディメンション フィルターの影響を受けます。
コンテキストにフィルターを追加せずに FIXED 詳細レベル表現をフィルターすると、次のように動作します。
ビュー内の各マークがそのディメンション値に従って集計するのと同じように、詳細レベル表現はそのディメンション宣言内のディメンション値の組み合わせごとに結果を生成します。
下の計算では、データに [Sales (売上)] の値を持つ 50 個の州がある場合、50 個の結果を返します。
{FIXED [State]: SUM([Sales])}
FIXED ステートメントの波括弧 {} の中にあるものはディメンション フィルターに影響を受けませんが、ビューに計算を追加する際に、それに集計を加えます。[State (都道府県/州)] 全体を集計するため、[State (都道府県/州)] フィルターは結果に影響を与えます。
一般に、FIXED 詳細レベル表現のディメンション宣言からのディメンションがフィルターされる場合、FIXED 計算の集計結果が影響を受けます。
SUM( {FIXED [State]: SUM([Sales])} ) は [State (都道府県/州)] フィルターの影響を受けるため、それを分子として使用できます。
SUM( {FIXED [State]: SUM([Sales])} ) / ATTR( {FIXED : SUM([Sales])} )
001456685
367 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.