SELECT
{ [Measures].[Net] } ON COLUMNS
, NON EMPTY
{ ([Bill To].[Customer Name].[Customer Name].ALLMEMBERS
* [Bill To].[Account Type].[Account Type].ALLMEMBERS
* [Reporting Date].[Fiscal Period].[Fiscal Period].ALLMEMBERS ) }
DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME
ON ROWS
FROM ( SELECT ( STRTOSET(@EmployeeDimEmployeeManagerCode ) ) ON COLUMNS
FROM ( SELECT ( STRTOSET(@BillToDimCustAccountType ) ) ON COLUMNS
FROM ( SELECT ( STRTOSET(@GeneralLedgerDimGLBusinessUnit ) ) ON COLUMNS
FROM ( SELECT ( STRTOSET(@CompanyDimCompanyName ) ) ON COLUMNS
FROM ( SELECT ( STRTOMEMBER(@FromCalendarDateDimMonth ) : STRTOMEMBER(@FromCalendarDateDimMonth ).LAG(11) ) ON COLUMNS
FROM [Revenue]))))) WHERE ( IIF( STRTOSET(@CompanyDimCompanyName, CONSTRAINED).Count = 1
, STRTOSET(@CompanyDimCompanyName, CONSTRAINED)
, [Company].[Company].currentmember )
, IIF( STRTOSET(@GeneralLedgerDimGLBusinessUnit, CONSTRAINED).Count = 1
, STRTOSET(@GeneralLedgerDimGLBusinessUnit, CONSTRAINED)
, [Product].[GL Business Unit].currentmember )
, IIF( STRTOSET(@EmployeeDimEmployeeManagerCode, CONSTRAINED).Count = 1
, STRTOSET(@EmployeeDimEmployeeManagerCode, CONSTRAINED)
, [Order Primary Sales Assignment].[Order Primary Sales Assignment Manager Name].currentmember ) )
CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE
, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
私は新人のMDX開発者です。上記のクエリ(他の誰かによって書かれた)では、「from」の部分がわかりませんでした。strtosetパラメーターを列に配置するのはなぜですか?また、Revenueキューブから何を取得するのですか?