0
0
Tableaubi_tool~20 mins

Tooltip customization in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Tooltip Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
visualization
intermediate
2:00remaining
Customize Tooltip to Show Sales and Profit

You have a sales dashboard in Tableau. You want the tooltip to show both Sales and Profit values when hovering over a data point.

Which tooltip customization will correctly display both values?

A<p>Sales: <code><SUM([Sales])></code><br>Profit: <code><SUM([Profit])></code></p>
B<p>Sales: <code><SUM([Sales])></code></p>
C<p>Sales: <code><b><SUM([Sales])></b></code><br>Profit: <code><b><SUM([Profit])></b></code></p>
D<p>Sales: <code><SUM([Sales])></code><br>Profit: <code><SUM([Profit])></code><br>Discount: <code><SUM([Discount])></code></p>
Attempts:
2 left
💡 Hint

Remember to use the correct syntax for inserting field values inside tooltips.

🧠 Conceptual
intermediate
1:30remaining
Purpose of Tooltip Customization in Tableau

Why is customizing tooltips important in Tableau dashboards?

ATo filter data permanently based on user clicks.
BTo change the color of the dashboard background.
CTo add more detailed information about data points without cluttering the main view.
DTo export data directly from the tooltip.
Attempts:
2 left
💡 Hint

Think about what tooltips do when you hover over data.

dax_lod_result
advanced
2:30remaining
Calculate Average Sales per Category in Tooltip

You want to show the average sales per product category in a tooltip using a Level of Detail (LOD) expression in Tableau.

Which LOD expression correctly calculates this?

AAVG({ FIXED [Category] : SUM([Sales]) })
B{ INCLUDE [Category] : SUM([Sales]) }
C{ EXCLUDE [Category] : AVG([Sales]) }
D{ FIXED [Category] : AVG([Sales]) }
Attempts:
2 left
💡 Hint

LOD expressions use FIXED, INCLUDE, or EXCLUDE to control aggregation levels.

🔧 Formula Fix
advanced
2:00remaining
Fix Tooltip Showing Incorrect Profit Values

Your tooltip shows profit values that are too high. You suspect the aggregation is wrong.

Which of these tooltip expressions is causing the error?

A<p>Profit: <code><ATTR([Profit])></code></p>
B<p>Profit: <code><SUM([Profit])></code></p>
C<p>Profit: <code><AVG([Profit])></code></p>
D<p>Profit: <code><MIN([Profit])></code></p>
Attempts:
2 left
💡 Hint

ATTR returns a single value if all rows have the same value, else it shows an asterisk.

🎯 Scenario
expert
3:00remaining
Design Tooltip to Show Dynamic Text Based on Sales Threshold

You want a tooltip that shows the text "High Sales" if sales are above 100,000 and "Low Sales" otherwise.

Which calculated field expression will produce this dynamic tooltip text?

AIF [Sales] > 100000 THEN 'High Sales' ELSE 'Low Sales' END
BIF SUM([Sales]) > 100000 THEN 'High Sales' ELSE 'Low Sales' END
CCASE WHEN SUM([Sales]) > 100000 THEN 'High Sales' ELSE 'Low Sales' END
DIF AVG([Sales]) > 100000 THEN 'High Sales' ELSE 'Low Sales' END
Attempts:
2 left
💡 Hint

Remember to aggregate sales before comparing to a threshold in Tableau calculated fields.