0
0
Tableaubi_tool~8 mins

Device-specific layouts in Tableau - Dashboard Guide

Choose your learning style9 modes available
Dashboard Mode - Device-specific layouts
Dashboard Goal

Understand how to create device-specific layouts in Tableau to optimize dashboard views for desktop, tablet, and phone users.

Sample Data: Sales by Region and Category
Region Category Sales Profit
EastFurniture1000200
EastTechnology1500300
WestFurniture1200250
WestOffice Supplies800150
CentralTechnology1700400
CentralOffice Supplies900180
SouthFurniture1100220
SouthTechnology1300280
Dashboard Components
  • KPI Card - Total Sales: SUM([Sales]) = 9500
  • KPI Card - Total Profit: SUM([Profit]) = 1980
  • Bar Chart - Sales by Region: SUM([Sales]) grouped by [Region]
  • Pie Chart - Sales by Category: SUM([Sales]) grouped by [Category]
  • Table - Detailed Sales Data: Shows Region, Category, Sales, Profit rows

Device-specific layouts:

  • Desktop Layout: Shows all components in a grid for full detail.
  • Tablet Layout: Shows KPI cards and bar chart stacked vertically, hides pie chart for simplicity.
  • Phone Layout: Shows only KPI cards and table with scroll, hides charts for clarity.
Dashboard Layout (ASCII Art)
+----------------------------+----------------------------+
|        KPI: Total Sales    |       KPI: Total Profit    |
+----------------------------+----------------------------+
|        Bar Chart: Sales by Region                   |
+-----------------------------------------------------+
|        Pie Chart: Sales by Category                  |
+-----------------------------------------------------+
|        Table: Detailed Sales Data                    |
+-----------------------------------------------------+


Desktop Layout: All components visible as above.

Tablet Layout:
+----------------------------+
|        KPI: Total Sales    |
+----------------------------+
|        KPI: Total Profit   |
+----------------------------+
|        Bar Chart: Sales by Region                   |
+-----------------------------------------------------+
|        Table: Detailed Sales Data                    |
+-----------------------------------------------------+

Pie Chart hidden on tablet.

Phone Layout:
+----------------------------+
|        KPI: Total Sales    |
+----------------------------+
|        KPI: Total Profit   |
+----------------------------+
|        Table: Detailed Sales Data                    |
+-----------------------------------------------------+

Bar and Pie charts hidden on phone.
  
Interactivity

Filters and device layouts interact as follows:

  • Region Filter: Applies to all visible components on all devices, updating sales and profit values and charts accordingly.
  • Category Filter: Applies similarly to all visible components.
  • Device Layout Selector: Automatically switches layout based on device type (desktop, tablet, phone) to show/hide components for best user experience.
Self Check

If you add a filter to show only Region = East, which components update and how?

  • KPI Cards: Total Sales and Profit update to sum only East region data (Sales = 2500, Profit = 500).
  • Bar Chart: Shows only East region bar.
  • Pie Chart: Shows sales distribution by category only for East region.
  • Table: Shows only rows where Region = East.

On phone layout, only KPI cards and table update and remain visible.

Key Result
A Tableau dashboard demonstrating device-specific layouts that adapt component visibility and arrangement for desktop, tablet, and phone users using sales data.