The Layout option provides various ways of displaying a hierarchy in the grid.
To switch to a layout:
Click on the dimension heading. From the dimension menu select Layout, and from the submenu choose the layout. Or, just click on the relevant Layout button on the Dimension tab of the ribbon.
The sections below describe the different layouts.