
The marks (which are bars in this case) are vertical because the axis is vertical. On the Marks card, select Bar from the drop-down list.Tableau uses Line as the mark type because you added the date dimension. The Sales measure is aggregated as a sum and an axis is created, while the column headers move to the bottom of the view. Notice that the data is aggregated by year and column headers appear. To Columns and drag the Sales measure to Rows. Note: In Tableau 2020.2 and later, the Data pane no longer shows Dimensions and Measures as labels. Connect to the Sample - Superstore data source.To create a bar chart that displays total sales over a four-year period, follow these steps: Note: At the end of the procedure is an extra step you can take to display totals at the tops of the bars. You can add additional fields to these shelves.įor more information about the Bar mark type, see Bar mark. Selects this mark type when the data view matches one of the two field arrangements shown below. You create a bar chart by placing a dimension on the Rows shelf and a measure on the Columns shelf, or vice versa.Ī bar chart uses the Bar mark type. Use bar charts to compare data across categories.
