Loading

How to allocate different color based on multiple fields

Date de publication: Apr 24, 2025
Tâche

How to allocate colors using more than one field like below?

In the example below, a line chart of sales is colored by [Category] and [Segment].
<IMAGE>
User-added image

Étapes
Please follow along with the attached sample workbook to the right of this text in the Attachments section.

1. Connect to Sample Superstore from Tableau Desktop.
2. Drag [Order Date] to Columns.
User-added image
3. Drag [Sales] to Rows.
User-added image
4. Drag [Category] to Color.
User-added image
5. Drag [Segment] to Detail.
User-added image
6. Click on Detail mark of [Segment] -> Select Color.
User-added image
7. Click on Delta mark on Color legend -> Edit Color -> Set to any desired color.
Numéro d’article de la base de connaissances

001498734

Pièces jointes

Book.twbx

1225 KB

 
Chargement
Salesforce Help | Article