Cube.Dimensions(**cube** as table) as table
Returns a table containing the set of available dimensions within the
cube. Each dimension is a table containing a set of dimension attributes and each dimension attribute is represented as a column in the dimension table. Dimensions can be expanded in the cube using Cube.AddAndExpandDimensionColumn.