Last Modified Date: 16 Feb 2024
Environment
- Tableau Desktop
Answer
Follow along with these directions using the sample packaged workbook found in the Attachments section of this article. The sample data is from the old Global Superstore data.-
Create a calculated field for measures. Click the analysis menu and select create calculated field.
-
Enter 1.0 in the formula area. The example is named "Custom Shapes".
-
Drag market to rows. Right click market in the rows shelf and uncheck show header.
-
Drag profit to columns.
-
Drag the newly created calculated field, [Custom Shapes], to columns to the left of profit. Right click SUM(Custom Shapes) and change the measure to MIN.
-
Right click the "Custom Shapes" axis and select edit axis. Select the fixed range. Set the range the start to .9 and the end to 1.1. Click ok. Then, right click the x axis and uncheck show header.
-
In the marks card, "Min(Custom Shapes)," select shape from the drop down menu. The shape button should now appear on that marks card. Drag a copy of Market to the shape button. Additionally, the size of shapes can be controlled from this marks card. Click size and use the slider to achieve desired size.
-
Click the shape button. Select the desired custom shapes. For how to add and use custom shapes please see the following link.
- The view now shows the profit of different markets with their appropriate symbol.