This image shows the Dimension X-axis calculation in the grammar panel and the change to City as the X-axis values.