harsha547
3/25/2017 - 6:39 PM

Retrieve Data Using MDX ( Cube : AdventureWorks )

Retrieve Data Using MDX ( Cube : AdventureWorks )

-- Code Snippet of the Day [ March 26th , 2017 }

-- Use Members property with the dimension to Include All Geographies .

-- -- Following MDX query is used to retrieve data for the all geographies with measures of Internet sales orders and Total orders



SELECT
	NON EMPTY { [Measures].[Internet Order Count],
				[Measures].[Order Count]
				} ON COLUMNS,

	[Geography].[Country].members  ON ROWS

FROM [Adventure Works]