多次元式 (MDX) を使用してキューブ ディメンションをグループ化する方法。
注: 以下の手順では、Microsoft Analysis Services (MSAS) AdventureWorks キューブへの接続を含む、添付の MDX グループ例のワークブックを使用します。このワークブックを使用するには、Server の値を「scdemo-dbs」から AdventureWorks をホストする MSAS サーバーの名前に変更する必要があります。
MDX グループ例のワークブックをダウンロードして開きます。
[ディメンション] ペインのドロップダウン メニューをクリックし、[計算されたメンバー] を選択します。
[計算されたメンバー] ダイアログ ボックスで、[新規作成] をクリックします。
[計算されたメンバーの定義] セクションで、次の操作を実行します。
[Customer].[Customer Geography].[France] + [Customer].[Customer Geography].[Germany]
この式は、2 つのディメンション値をグループ化します。この例では [国] ディメンションから "France" と "Germany" の値をグループ化します。
注: この計算されたメンバーは [メジャー] に適用されないので、[メジャー] ペインに表示されません。その代わり、この計算されたメンバーは階層 [Customer].[Customer Geography] に割り当てられ、その階層内の新しい値で特定の場所が作成されます。この例では、新しい値は [France] と [Germany] のグループです。
結果的に生成されたビューには、"France" および "Germany" のグループの新しい値を含む、各国の "Internet Sales Amount" が表示されます。
001458072
12 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.