--- title: "Specifying the Contents of a Query Axis (MDX) | Microsoft Docs" ms.custom: "" ms.date: "06/13/2017" ms.prod: "sql-server-2014" ms.reviewer: "" ms.technology: "analysis-services" ms.topic: conceptual helpviewer_keywords: - "cellsets [MDX]" - "query axis [MDX]" ms.assetid: c745ade0-738e-4a98-a3f0-3eabfd3eeba2 author: minewiskan ms.author: owend manager: craigg --- # Specifying the Contents of a Query Axis (MDX) Query axes specify the edges of a cellset returned by a Multidimensional Expressions (MDX) SELECT statement. Specifying the edges of a cellset lets you restrict the returned data that is visible to the client. To specify query axes, you use the `` value defines one query axis. The number of axes in the dataset is equal to the number of ``: ``` ] [] ON { Integer_Expression | AXIS( Integer_Expression ) | {COLUMNS | ROWS | PAGES | SECTIONS | CHAPTERS} } ``` Each query axis has a number: zero (0) for the x-axis, 1 for the y-axis, 2 for the z-axis, and so on. In the syntax for the `