Tableau(Five ways to create a bar chart in tableau)
Five Ways to Create a Bar Chart in Tableau
- The easiest way to start a bar chart in Tableau is to simply double-click on the measure you want to visualize from the Measures Shelf. By default, this will place a continuous pill for Sales on the Rows Shelf, which creates a vertical bar.
- You could have got to this same place by left-clicking and dragging the Sales measure from the Measures Shelf to the Rows Shelf.
- ‘Pre-select’ the Sales measure by clicking on it, then click ‘horizontal bars’ in the Show Me options. This creates a different orientation than the first two approaches because the Sales measure is placed on the Columns Shelf instead of the Rows Shelf. If you prefer the vertical orientation, you can click the Swap icon (pictured below), use the Ctrl+W shortcut, or drag and drop the Sales measure from the Columns Shelf to the Rows Shelf.

- You can change the mark type on an existing view to Bar. Let’s say you are looking at the Sales measure by Year of Order Date as a line graph. You can convert the line graph to a bar chart by changing the mark type on the Marks Shelf from Automatic (line) to Bar.

- Similar to approach 2 above, but if you right-click and drag the Sales measure from the Measures shelf to the Rows Shelf, you will be presented with the option to choose the data aggregation before the bar chart is created.

Comments
Post a Comment