filmov
tv
How to create a Grouped Bar chart using a dimension in Tableau
![preview_player](https://i.ytimg.com/vi/HeQ5VNZ8Pqo/hqdefault.jpg)
Показать описание
In this silent video, you'll learn how to create grouped bar charts, also known as side-by-side bar charts, specifically using a dimension.
- - - - - - - - - - - - - -
1. Create a calculated field similar to:
CASE [Market]
WHEN "Central" THEN 1
WHEN "East" THEN 2
WHEN "South" THEN 3
WHEN "West" THEN 4
ELSE 4.5
END
2. Drag "Product Type" to the Columns.
3. Right-click "Market List" and select Convert to Dimension.
4. Right-click "Market List" and select Convert to Continuous.
5. Drag "Product type" and "Market List" to Columns.
6. Drag "Inventory" to the Rows.
7. On the Marks card, on the drop-down list of view types, select Bar.
8. Drag "Market" to Color.
9. Click the Size mark card.
10. Select Fixed so that Tableau Desktop automatically adjusts the size to minimum and the maximum default data.
Related solutions:
- - - - - - - - - - - - - -
- - - - - - - - - - - - - -
1. Create a calculated field similar to:
CASE [Market]
WHEN "Central" THEN 1
WHEN "East" THEN 2
WHEN "South" THEN 3
WHEN "West" THEN 4
ELSE 4.5
END
2. Drag "Product Type" to the Columns.
3. Right-click "Market List" and select Convert to Dimension.
4. Right-click "Market List" and select Convert to Continuous.
5. Drag "Product type" and "Market List" to Columns.
6. Drag "Inventory" to the Rows.
7. On the Marks card, on the drop-down list of view types, select Bar.
8. Drag "Market" to Color.
9. Click the Size mark card.
10. Select Fixed so that Tableau Desktop automatically adjusts the size to minimum and the maximum default data.
Related solutions:
- - - - - - - - - - - - - -