Loading

How to Combine Multiple Kinds of Legends Into One Legend in Tableau Desktop

Дата публикации: Feb 28, 2025
Задача

How to make a combined legend in Tableau Desktop. e.g. Combine Shape and Color legends into one.

For example, the below graph has two legends, Color, and Shape. How to make them into one.
User-added image

Expected:
User-added image

Действия
Please review the steps below on combining legends and follow along in the sample packaged workbook found in the Attachments section of this article.

The solution will be to make a new worksheet to show the combined legend and combine the graph and legend together in a dashboard.

The steps are as follows.

1. Make a new worksheet and add the field to [Color] and [Shape].
User-added image

2. Make a new dashboard to combine the graph and legend worksheet.
  * Please hide the title of the legend worksheet and delete all other legends.
User-added image

Please also check the attached workbook for details.
Дополнительные ресурсы
To voice your support for the inclusion of this feature in the future release of the product, vote for the following idea on Community.
Combo Legends
Номер статьи базы знаний

001470674

Вложения

combine legends.twbx

1191 KB

 
Загрузка
Salesforce Help | Article