Bird
Raised Fist0
Tableaubi_tool~15 mins

Device-specific layouts in Tableau - Real Business Scenario

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Scenario Mode
👤 Your Role: You are a business intelligence analyst at a retail company.
📋 Request: Your manager wants a sales performance dashboard that looks great and works well on desktop computers, tablets, and smartphones.
📊 Data: You have monthly sales data by region, product category, and sales amount.
🎯 Deliverable: Create a Tableau dashboard with device-specific layouts for desktop, tablet, and phone that show total sales by region and product category.
Progress0 / 7 steps
Sample Data
MonthRegionProduct CategorySales Amount
2024-01NorthElectronics12000
2024-01SouthFurniture8000
2024-02EastElectronics15000
2024-02WestFurniture7000
2024-03NorthFurniture9000
2024-03SouthElectronics11000
2024-04EastFurniture6000
2024-04WestElectronics13000
1
Step 1: Connect to the sales data in Tableau and create a new worksheet.
Load the sample data table into Tableau as a data source.
Expected Result
Data is available in Tableau for analysis.
2
Step 2: Create a bar chart showing total Sales Amount by Region.
Rows: Region; Columns: SUM(Sales Amount); Mark type: Bar
Expected Result
Bar chart displays total sales for each region.
3
Step 3: Create a second bar chart showing total Sales Amount by Product Category.
Rows: Product Category; Columns: SUM(Sales Amount); Mark type: Bar
Expected Result
Bar chart displays total sales for each product category.
4
Step 4: Create a new dashboard for Desktop layout.
Add both bar charts side by side with titles and filters for Month.
Expected Result
Dashboard shows both charts clearly on a wide screen.
5
Step 5: Create a Device Layout for Tablet in the dashboard.
In Dashboard pane, select 'Device Preview' > 'Add Device Layout' > choose Tablet; arrange charts stacked vertically for better fit.
Expected Result
Tablet layout shows charts stacked vertically for easier viewing on smaller screens.
6
Step 6: Create a Device Layout for Phone in the dashboard.
Add Phone device layout; show only the Sales by Region chart with filters; use larger fonts and simplified layout.
Expected Result
Phone layout shows a single chart with clear labels and easy navigation.
7
Step 7: Test the dashboard in Tableau Device Preview mode for Desktop, Tablet, and Phone layouts.
Use 'Device Preview' toggle to switch between layouts and verify readability and usability.
Expected Result
Dashboard adapts layout and content appropriately for each device type.
Final Result
Bar Chart
Bar Chart
Bar Chart
Bar Chart
North and East regions have higher sales compared to South and West.
Electronics category generally outperforms Furniture in sales.
Device-specific layouts improve user experience by tailoring content and layout to screen size.
Bonus Challenge

Add interactive filters for Month and Region that work across all device layouts.

Show Hint
Use Tableau's dashboard actions and ensure filters are added to each device layout separately.

Practice

(1/5)
1. What is the main purpose of device-specific layouts in Tableau dashboards?
easy
A. To create different dashboard designs optimized for phones, tablets, and desktops
B. To connect Tableau to different data sources automatically
C. To change the color scheme of a dashboard based on user preferences
D. To export dashboards in multiple file formats

Solution

  1. Step 1: Understand device-specific layouts

    Device-specific layouts allow creating different dashboard versions tailored for various devices like phones, tablets, and desktops.
  2. Step 2: Identify the main purpose

    The main goal is to improve user experience by optimizing the dashboard layout for each device type.
  3. Final Answer:

    To create different dashboard designs optimized for phones, tablets, and desktops -> Option A
  4. Quick Check:

    Device-specific layouts = tailored dashboard designs [OK]
Hint: Think about device screen sizes and user experience [OK]
Common Mistakes:
  • Confusing device layouts with data connections
  • Thinking device layouts change colors only
  • Assuming device layouts export files
2. Which Tableau feature allows you to preview how your dashboard looks on different devices?
easy
A. Calculated Fields
B. Data Interpreter
C. Story Points
D. Device Preview

Solution

  1. Step 1: Recall Tableau features for device layouts

    Tableau provides a feature called Device Preview to check dashboard appearance on phones, tablets, and desktops.
  2. Step 2: Match feature to description

    Device Preview specifically lets you test and adjust layouts for different devices before publishing.
  3. Final Answer:

    Device Preview -> Option D
  4. Quick Check:

    Preview device layouts = Device Preview [OK]
Hint: Look for 'Preview' in the feature name for device testing [OK]
Common Mistakes:
  • Confusing Device Preview with Data Interpreter
  • Mixing up Story Points with device layout tools
  • Thinking Calculated Fields preview layouts
3. Given a dashboard with device layouts set for phone and desktop, what happens if a user opens it on a tablet without a specific layout?
medium
A. The desktop layout is shown by default
B. The phone layout is shown by default
C. An error message appears
D. The dashboard does not load

Solution

  1. Step 1: Understand default layout behavior

    If a device-specific layout is not created for a device (tablet here), Tableau uses the desktop layout as the default fallback.
  2. Step 2: Apply to the scenario

    Since only phone and desktop layouts exist, tablet users see the desktop layout automatically.
  3. Final Answer:

    The desktop layout is shown by default -> Option A
  4. Quick Check:

    Missing tablet layout = desktop layout fallback [OK]
Hint: No tablet layout? Desktop layout shows [OK]
Common Mistakes:
  • Assuming phone layout shows by default
  • Expecting error messages for missing layouts
  • Thinking dashboard fails to load
4. You created device-specific layouts but notice the phone layout is not applied when viewing on a phone. What is a likely cause?
medium
A. The desktop layout has higher priority and overrides phone layout
B. Tableau does not support phone layouts
C. The phone layout was not enabled in the Device Layouts pane
D. The data source is incompatible with phone layouts

Solution

  1. Step 1: Check device layout settings

    Device-specific layouts must be enabled explicitly in Tableau's Device Layouts pane for each device type.
  2. Step 2: Identify common mistake

    If the phone layout is created but not enabled, Tableau will not apply it when viewed on a phone.
  3. Final Answer:

    The phone layout was not enabled in the Device Layouts pane -> Option C
  4. Quick Check:

    Enable phone layout to apply it [OK]
Hint: Enable layouts in Device Layouts pane to activate [OK]
Common Mistakes:
  • Thinking desktop layout overrides phone layout
  • Believing Tableau lacks phone layout support
  • Blaming data source for layout issues
5. You want to create a dashboard that shows a detailed sales chart on desktop but a simplified summary on phones. How should you use device-specific layouts to achieve this?
hard
A. Use one layout and rely on Tableau to automatically simplify visuals on phones
B. Create separate layouts: full chart for desktop, summary for phone, and enable both
C. Create only a phone layout with the summary and no desktop layout
D. Create a desktop layout with summary and phone layout with full chart

Solution

  1. Step 1: Plan layouts for each device

    To show different visuals per device, create separate layouts tailored to each device's needs.
  2. Step 2: Implement and enable layouts

    Create a detailed sales chart layout for desktop and a simplified summary layout for phones, then enable both in Device Layouts.
  3. Step 3: Verify user experience

    This ensures desktop users see full details, and phone users get a clean summary optimized for small screens.
  4. Final Answer:

    Create separate layouts: full chart for desktop, summary for phone, and enable both -> Option B
  5. Quick Check:

    Separate layouts for devices = tailored user experience [OK]
Hint: Design and enable distinct layouts per device type [OK]
Common Mistakes:
  • Expecting automatic simplification without separate layouts
  • Creating only one layout for all devices
  • Mixing up which layout shows on which device