0
0
Tableaubi_tool~15 mins

Date filters in Tableau - Real Business Scenario

Choose your learning style9 modes available
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants to see sales data filtered by specific date ranges to understand performance in different periods.
📊 Data: You have sales transaction data including Order Date, Product Category, Sales Amount, and Region.
🎯 Deliverable: Create a Tableau dashboard with date filters that allow the manager to select sales data by Year, Quarter, and a custom date range.
Progress0 / 6 steps
Sample Data
Order DateProduct CategorySales AmountRegion
2023-01-15Electronics1200North
2023-02-20Furniture850East
2023-03-05Office Supplies400South
2023-04-10Electronics1500West
2023-05-18Furniture700North
2023-06-25Office Supplies300East
2023-07-30Electronics1300South
2023-08-15Furniture900West
2023-09-10Office Supplies450North
2023-10-05Electronics1600East
2023-11-20Furniture750South
2023-12-15Office Supplies500West
1
Step 1: Connect Tableau to the sales data source containing Order Date, Product Category, Sales Amount, and Region.
No formula needed; just connect the data source.
Expected Result
Tableau shows the data fields ready for analysis.
2
Step 2: Create a new worksheet and drag 'Order Date' to the Columns shelf and 'Sales Amount' to the Rows shelf.
Use SUM([Sales Amount]) aggregation.
Expected Result
A basic line chart showing total sales over time by Order Date.
3
Step 3: Add a date filter for 'Order Date' by dragging it to the Filters shelf and selecting 'Years' to filter by year.
Filter on 'Order Date' by Year.
Expected Result
Filter control appears allowing selection of specific years.
4
Step 4: Add another date filter for 'Order Date' to filter by Quarter.
Filter on 'Order Date' by Quarter.
Expected Result
Filter control appears allowing selection of specific quarters.
5
Step 5: Add a relative date filter for 'Order Date' to allow custom date range selection.
Use 'Relative Date' filter option on 'Order Date'.
Expected Result
Filter control appears allowing the manager to select custom date ranges.
6
Step 6: Show all three date filters (Year, Quarter, Custom Range) on the dashboard for interactive filtering.
Add filters to dashboard and set to 'Show Filter'.
Expected Result
Dashboard has interactive date filters that update sales chart dynamically.
Final Result
Sales Dashboard

[Year Filter] [Quarter Filter] [Custom Date Range Filter]

  Sales Amount
    |
1600|       *        *
1400|    *     *        
1200| *                 *
1000|                    
 800|      *      *      
 600|                    
 400|  *           *     
 200|                    
    +-----------------------> Order Date

Filters let you pick year, quarter, or any date range to see sales trends.
Sales vary by quarter, with peaks in Q1 and Q4.
Electronics sales are highest in Q4.
Furniture sales are steady but lower in mid-year.
Custom date filters help focus on specific periods for detailed analysis.
Bonus Challenge

Add a filter to select sales by Region along with the date filters to analyze sales trends by location.

Show Hint
Drag 'Region' to Filters shelf and show filter on dashboard; combine with date filters for multi-dimensional filtering.