A date filter in Tableau lets you choose which dates to include or exclude in your view. It helps focus on specific time periods like months, years, or custom ranges.
Click to reveal answer
beginner
How do you create a relative date filter in Tableau?
You drag a date field to the Filters shelf, select 'Relative Date', then choose options like last 7 days, last month, or next year to filter dynamically based on today's date.
Click to reveal answer
intermediate
What is the difference between a continuous and discrete date filter?
Continuous date filters treat dates as a timeline and allow filtering by ranges (like from Jan to Mar). Discrete date filters treat dates as separate categories (like specific months or years).
Click to reveal answer
intermediate
Why use a date range filter instead of a relative date filter?
A date range filter lets you pick exact start and end dates manually, useful when you want a fixed period. A relative date filter changes automatically based on the current date.
Click to reveal answer
beginner
How can you make a date filter user-friendly in a Tableau dashboard?
Add a date filter as a quick filter with a calendar picker or slider. This lets users easily select dates without typing, improving interaction and clarity.
Click to reveal answer
Which Tableau filter type updates automatically based on today's date?
ARelative Date Filter
BDate Range Filter
CDiscrete Date Filter
DContinuous Date Filter
✗ Incorrect
Relative Date Filters adjust dynamically based on the current date, like showing the last 30 days.
What does a continuous date filter allow you to do?
AExclude weekends automatically
BSelect specific date categories like months
CFilter only by year
DFilter by a range of dates on a timeline
✗ Incorrect
Continuous date filters treat dates as a timeline and allow filtering by ranges.
How do you add a date filter to a Tableau dashboard for user interaction?
ADrag date field to Filters shelf and show filter
BWrite a calculated field
CUse a parameter only
DCreate a new worksheet
✗ Incorrect
Dragging the date field to Filters shelf and showing the filter adds an interactive date filter to the dashboard.
Which filter type treats dates as separate categories?
AContinuous Date Filter
BRelative Date Filter
CDiscrete Date Filter
DDate Range Filter
✗ Incorrect
Discrete date filters treat dates as separate categories like months or years.
When would you use a date range filter instead of a relative date filter?
AWhen excluding weekends
BWhen you want a fixed start and end date
CWhen filtering by year only
DWhen you want the filter to update daily
✗ Incorrect
Date range filters let you pick fixed start and end dates manually.
Explain how to create and use a relative date filter in Tableau.
Think about filtering data based on today's date.
You got /4 concepts.
Describe the difference between continuous and discrete date filters and when to use each.
Consider how Tableau groups or treats dates in each filter.
You got /4 concepts.
Practice
(1/5)
1. What is the main purpose of using Date filters in Tableau dashboards?
easy
A. To create new date columns
B. To change the color of date fields
C. To focus analysis on specific time periods
D. To sort data alphabetically
Solution
Step 1: Understand what date filters do
Date filters allow you to limit data shown based on dates, focusing on certain time frames.
Step 2: Identify the correct purpose
Among the options, only focusing analysis on specific time periods matches the use of date filters.
Final Answer:
To focus analysis on specific time periods -> Option C
Quick Check:
Date filters = focus on time periods [OK]
Hint: Date filters narrow data by time to focus analysis [OK]
Common Mistakes:
Confusing filters with formatting options
Thinking filters create new data columns
Assuming filters sort data alphabetically
2. Which of the following is the correct way to add a relative date filter in Tableau?
easy
A. Right-click date field > Filter > Select 'Relative Date'
B. Drag date field to Columns shelf only
C. Create a calculated field with TODAY()
D. Use Data Source tab to filter dates
Solution
Step 1: Recall how to add relative date filters
In Tableau, you right-click the date field, choose Filter, then select 'Relative Date' to add this filter type.
Step 2: Check other options
Dragging to Columns shelf or creating calculated fields does not add a relative date filter directly. Data Source tab filters are different.
Final Answer:
Right-click date field > Filter > Select 'Relative Date' -> Option A
Quick Check:
Relative date filter = right-click > Filter > Relative Date [OK]
Hint: Right-click date field to add relative date filter quickly [OK]
Common Mistakes:
Dragging date to Columns shelf does not filter
Using calculated fields instead of filter dialog
Trying to filter dates in Data Source tab only
3. Given a relative date filter set to 'Last 3 months' on a dashboard viewed on June 15, 2024, which months' data will be shown?
This filter includes the current month and the two previous months.
Step 2: Identify months for June 15, 2024
Current month is June 2024, so last 3 months are April, May, and June 2024.
Final Answer:
April, May, June 2024 -> Option B
Quick Check:
Last 3 months includes current month [OK]
Hint: Relative filters include current month plus previous months [OK]
Common Mistakes:
Excluding current month from last 3 months
Counting future months incorrectly
Confusing calendar months with weeks
4. You applied a relative date filter for 'Last 7 days' but the dashboard shows no data. What is the most likely cause?
medium
A. Date field is not recognized as a date type
B. Dashboard is not refreshed
C. Filter was applied on a non-date field
D. Data source has no records in the last 7 days
Solution
Step 1: Check filter logic
If the filter is set correctly but no data shows, it likely means no data exists in that date range.
Step 2: Evaluate other options
Incorrect data type or wrong field would cause errors, not empty results. Dashboard refresh issues usually show old data, not empty.
Final Answer:
Data source has no records in the last 7 days -> Option D
Quick Check:
No data in filter range = empty dashboard [OK]
Hint: Check data availability before blaming filter setup [OK]
Common Mistakes:
Assuming filter syntax error causes empty data
Not verifying data freshness
Confusing data type errors with empty results
5. You want a dashboard that always shows sales data for the current quarter and updates automatically each day. Which filter type should you use in Tableau?
hard
A. Relative date filter set to 'This quarter'
B. Range date filter with fixed start and end dates
C. Individual date filter selecting specific dates
D. Top N filter on sales amount
Solution
Step 1: Identify filter that updates automatically
Relative date filters update dynamically based on current date, perfect for current quarter data.
Step 2: Compare with other filter types
Range filters with fixed dates do not update automatically. Individual date filters are static. Top N filters are unrelated to dates.
Final Answer:
Relative date filter set to 'This quarter' -> Option A
Quick Check:
Dynamic quarter data = relative date filter [OK]
Hint: Use relative date filters for auto-updating time frames [OK]
Common Mistakes:
Using fixed range filters expecting auto-update
Selecting individual dates manually
Confusing sales amount filters with date filters
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.