KNOWLEDGE BASE

Marks Do Not Align As Expected When Stacked


Published: 03 Apr 2013
Last Modified Date: 26 Oct 2022

Issue

When you select Format > Alignment with stacked marks in the view, some marks are not aligned as expected. 

Environment

Tableau Desktop

Resolution

The following options can be used to work around the issue:

Option 1: Turn off stacked marks
  1. Navigate to Analysis > Stack Marks > Off
Option 2: Only show one mark that lists all values
  1. Create a field that returns all values as a list using the method in Creating a String List to Display in a Tooltip
  2. Select Analysis > Create Calculated Field
  3. In the Calculated Field dialog box that opens, do the following, and then click OK:
    • Name the calculated field. In this example, the calculated field is named First Filter
    • In the formula field, create a calculation similar to the following:
    FIRST() = 0
    ​​​​​
  4. Drag First Filter to the Filters card
  5. Click OK to close the Filter dialog
  6. Right-click First Filter on the Filters card and select Compute Using > {dimension used to create the list of values}
  7. In the Filter dialog, check True and click OK
Did this article resolve the issue?