知識庫

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


發佈時間 : 05 Apr 2023
上次修改日期 : 18 Jan 2024

問題

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

環境

  • Tableau Desktop

答案

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
這篇文章是否解決了問題?