0
0
Tableaubi_tool~10 mins

Tooltip customization in Tableau - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

Sample sales data showing product names, sales amounts, and regions.

CellValue
A1Product
B1Sales
C1Region
A2Chair
B2150
C2East
A3Table
B3300
C3West
A4Lamp
B4120
C4East
Formula Trace
Tooltip: "Product: <Product>\nSales: $<SUM(Sales)>\nRegion: <Region>"
Step 1: Retrieve Product value for selected mark
Step 2: Calculate SUM(Sales) for selected mark
Step 3: Retrieve Region value for selected mark
Step 4: Construct tooltip text with line breaks and values
Cell Reference Map
   A       B       C  
1 Product  Sales  Region
2 Chair    150    East 
3 Table    300    West 
4 Lamp     120    East 
The tooltip references the Product, Sales, and Region columns for the selected data point.
Result
Tooltip on hover over 'Chair' mark:
-----------------------------
Product: Chair
Sales: $150
Region: East
-----------------------------
When hovering over the 'Chair' data point, the tooltip shows the product name, sales amount formatted with a dollar sign, and region on separate lines.
Sheet Trace Quiz - 3 Questions
Test your understanding
What value does the tooltip show for Sales when hovering over the 'Chair' product?
A$150
B$300
C$120
D$0
Key Result
Tooltip text is built by inserting field values into a template string with line breaks for clarity.