Last Modified Date: 09 Dec 2022
Environment
Tableau DesktopResolution
To resolve this issue try one of the following options:Option 1: Apply a computed sort manually
- In the Data window, right-click the relevant field.
- Select Default Properties > Sort.
- Change the default sort order of the field using the various options, and then click OK.
Option 2: Create a calculation for a more dynamic sort
- In the secondary data source, select Data > Create Calculated Field.
- In the Formula text box, create a calculated field that aggregates the measure you would like to sort on. For example, type
SUM([COGS])
. - Right-click the calculation you just created in step 2, and select Convert to Discrete.
- Drag the calculation to the left-most position in the Rows or Columns shelf.
- Right click the calculation in the Rows or Columns shelf, and select Show Header to remove the selection
Cause
When using data blending, the automatic sort options are not available (grayed out) for secondary dimensions.Additional Information
- If the dimension is converted to an attribute, it is possible to use the computed sort options from the toolbar. To convert a dimension to an attribute, right-click the relevant dimension field in the Columns or Rows shelf, and select Attribute. For more information about attributes, refer to the "Aggregating Dimensions" section in the Aggregating Data topic in the Desktop Help.
- Community Forum: Sorting Blended Data
Discuss this article... Feedback Forum
Thank you for providing your feedback on the effectiveness of the article.
Open new Case
Continue Searching
Knowledge Base
Community
Product Help
Training and Tutorials