Tooltips are data details that are displayed when you hover over one or more marks in the view. Tooltips are also convenient for quickly filtering or removing a selection, or viewing underlying data. You can edit a tooltip to include both static and dynamic text. You can also modify which fields are included in the automatic tooltip.
Add data to the tooltip by dragging it to the Tooltip target on the Marks card.
Dimensions are added to the tooltip using the ATTR aggregation, which means the tooltip may sometimes display as an asterisk. The asterisk indicates that there are multiple dimension members that apply to the mark you are pointing at. For example, a mark may represent the aggregated sales for all regions. Adding the Region field to the tooltip results in an asterisk because the mark represents more than one region. To avoid showing an asterisk, add the dimension to the Detail target or use it elsewhere in the view to ensure the marks are at the same level of detail.Click Tooltip on the Marks card to open a rich text editor where you can add additional text, rearrange the tooltip contents, and insert more fields.
Tooltips are specified on a per-sheet basis and can be formatted using the tools along the top of the Edit Tooltip dialog box. Use the Insert menu at the top of the dialog box to add dynamic text such as field values, sheet properties, and more.
The All Fields command on the Insert menu adds all field names and values that are used in the view to the tooltip for any mark in the view.
Select the Include command buttons option to add Keep Only, Exclude, and View Data buttons to the bottom of the tooltip. These command buttons are available both in Tableau Desktop and when the view is published to the web or viewed on a mobile device.
To add and remove fields when using the automatic tooltip, right-click the field on one of the shelves in the view and select Include in Tooltip.
The Include in Tooltip option is only available if you have not customized the tooltip. If you have customized the tooltip, you can return to the automatic tooltip by clicking Tooltip on the Marks card and then clicking Reset in the Edit Tooltip dialog box.