--- title: "SELECT Statement (MDX) | Microsoft Docs" ms.date: 06/04/2018 ms.prod: sql ms.technology: analysis-services ms.custom: mdx ms.topic: reference ms.author: owend ms.reviewer: owend author: minewiskan --- # MDX Data Manipulation - SELECT Retrieves data from a specified cube. ## Syntax ``` [ WITH ...n ] ] SELECT [ * | ( ,...n ] ) ] FROM ] [ ::= ( CELL CALCULATION ) | ( [ CALCULATED ] MEMBER ) | ( SET ) | ( MEASURE = ) ] ON Integer_Expression | AXIS(Integer) | COLUMNS | ROWS | PAGES | SECTIONS | CHAPTERS [ , ::= WHERE Tuple_Expression ::= [DIMENSION] PROPERTIES (DimensionProperty_Name [,DimensionProperty_Name,...n ] ) | (LevelProperty_Name [, LevelProperty_Name,...n ] ) | (MemberProperty_Name [, MemberProperty_Name,...n ] ) ``` ## Arguments *Set_Expression* A valid Multidimensional Expressions (MDX) expression that returns a set. *Integer* An integer between 0 and 127. *Cube_Name* A valid string that provides a cube name. *Tuple_Expression* A valid Multidimensional Expressions (MDX) expression that returns a tuple. *CellProperty_Name* A valid string that represents a cell property. *DimensionProperty_Name* A valid string that represents a dimension property. *LevelProperty_Name* A valid string that represents a level property. *MemberProperty_Name* A valid string that represents a member property. ## Remarks The `` expressions. If an attribute in the cube is omitted from the specified `` value, the attribute's default member is implicitly added to the slicer axis. The NON VISUAL option in the subselect statement enables you to filter out members while keeping the true totals instead of filtered totals. This enables you to query for the top ten sales (persons/products/regions) and obtain the true total of sales for all queried members, instead of the total value of sales for the top ten returned. See the examples below for more information. Calculated members can be included in \