0
0
Tableaubi_tool~20 mins

Custom date formats in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Custom Date Format Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
dax_lod_result
intermediate
1:30remaining
Custom Date Format Output in Tableau
You have a date field 'Order Date'. You apply the custom date format MMM dd, yyyy in Tableau. What will be the output for the date 2024-06-15?
AJun 15, 2024
B06 15, 2024
C15 Jun, 2024
D2024-06-15
Attempts:
2 left
💡 Hint
MMM means the short month name, dd is day with leading zero, yyyy is full year.
visualization
intermediate
1:30remaining
Choosing the Correct Custom Date Format for a Dashboard
You want to display dates on a sales dashboard as 'Friday, June 14, 2024'. Which custom date format string should you use in Tableau to achieve this?
Addd, MMM dd, yyyy
Bdddd, MMMM dd, yyyy
CMM/dd/yyyy
Dyyyy-MM-dd
Attempts:
2 left
💡 Hint
dddd gives full weekday name, MMMM full month name.
🧠 Conceptual
advanced
2:00remaining
Understanding Tableau Date Format Tokens
Which of the following statements about Tableau custom date format tokens is correct?
A'dd' displays the day of the week, while 'ddd' displays the day of the month.
B'HH' displays the hour in 12-hour format, while 'hh' displays the hour in 24-hour format.
C'MM' displays the full month name, while 'MMM' displays the month as a number.
D'yy' displays the two-digit year, while 'yyyy' displays the four-digit year.
Attempts:
2 left
💡 Hint
Think about how years and months are commonly formatted.
🔧 Formula Fix
advanced
2:00remaining
Fixing Incorrect Date Format Output
You applied the custom date format MMM-dd-yyyy in Tableau but the output shows Jun-15-24 instead of Jun-15-2024. What is the cause?
AUsing 'yy' instead of 'yyyy' causes the year to show as two digits.
BUsing 'MMM' causes the month to show as a number instead of name.
CUsing 'dd' causes the day to be omitted from the output.
DUsing dashes '-' is invalid in Tableau date formats.
Attempts:
2 left
💡 Hint
Check the year token length.
🎯 Scenario
expert
3:00remaining
Designing a Custom Date Format for International Audience
You need to create a Tableau dashboard for users in the US and Europe. The date should show as June 15, 2024 for US users and 15 June 2024 for European users. Which approach is best to handle this with custom date formats?
AUse the format 'yyyy-MM-dd' which is neutral and understood internationally.
BUse a single format 'dd MMMM, yyyy' for all users to keep it consistent.
CCreate two calculated fields with formats 'MMMM dd, yyyy' and 'dd MMMM yyyy' and show based on user locale.
DLet users manually change the date format in Tableau Desktop settings.
Attempts:
2 left
💡 Hint
Think about how to customize display based on user location.