0
0
Tableaubi_tool~8 mins

Bar charts (horizontal and vertical) in Tableau - Dashboard Guide

Choose your learning style9 modes available
Dashboard Mode - Bar charts (horizontal and vertical)
Dashboard Goal

See sales performance by product category and region using horizontal and vertical bar charts.

Sample Data
Product Category Region Sales
FurnitureEast1000
FurnitureWest1500
TechnologyEast2000
TechnologyWest2500
Office SuppliesEast800
Office SuppliesWest1200
Dashboard Components
  • KPI Card: Total Sales
    Formula: SUM([Sales])
    Result: 9000
  • Vertical Bar Chart: Sales by Product Category
    Columns: Product Category
    Rows: SUM(Sales)
    Bars vertical, height shows sales amount
    Example: Technology bar height = 4500 (2000 + 2500)
  • Horizontal Bar Chart: Sales by Region
    Columns: SUM(Sales)
    Rows: Region
    Bars horizontal, length shows sales amount
    Example: West bar length = 5200 (1500 + 2500 + 1200)
Dashboard Layout
+----------------------+-------------------------+
|      Total Sales      |  Sales by Product Category |
|       (KPI Card)      |      (Vertical Bar Chart)  |
+----------------------+-------------------------+
|          Sales by Region (Horizontal Bar Chart)          |
+----------------------------------------------------------+
    
Interactivity

Adding a filter for Product Category or Region updates both bar charts and the total sales KPI card to show only the filtered data.

For example, selecting East region filters the horizontal bar chart to show only East sales, the vertical bar chart updates sales by category for East region, and the KPI card shows total sales for East region.

Self Check

If you add a filter for Region = West, which components update and what changes occur?

  • Total Sales KPI Card: Updates to show sum of sales in West region (1500 + 2500 + 1200 = 5200).
  • Vertical Bar Chart (Sales by Product Category): Updates bars to show sales only for West region categories.
  • Horizontal Bar Chart (Sales by Region): Updates to show only West region bar.
Key Result
Dashboard showing total sales and sales distribution by product category and region using vertical and horizontal bar charts.