How to display the corresponding image when a dimension is selected
Published: 16 Aug 2022 Last Modified Date: 17 Aug 2022
How to display the corresponding image when an dimension is selected.
<STEP 1> Creating a chart to select 1. Launch Tableau Desktop and connect to attached sample data source. 2. Drag [Fruits] to Color in the Marks . 3. Drag [Labels] to Color in the Marks . 4. Drag [Sales] to Size in the Marks .
Creating the Sheet showing image 5. Create a new sheet named IMAGE and move to the sheet. 6. Create a new calculated field as following. Name : DUMMY Calculation : 0 7. Drag [DUMMY] to Rows and Columns
8. Right click on [DUMMY] on Rows and Columns -> Click on Show Header to hide it. 9. Drag [Fruits] to Shape in the Mark
<STEP 2> Import images 10. Open the following folder in Explorer. C:\Users\<User Name>\Documents\My Tableau Repository\Shape 11. Create a new folder named "Fruits" and save the images in the folder. 12. In the workbook , click on Shape -> Click on Reload Shapes
13. Select "Fruits" from the pull-down menu
14. Select a fruit name > Select a corresponding image
15. Click "Size" in "Mark Card" > Set to maximum
16. Set display setting to "Entire View".
<STEP 3> Deletion of axis line 17. Tool bar -> Format -> Lines 18. Set Zero Lines color to white. Set Axis Rulers color to white.
<STEP 4> Action Filter Settings 19. Go to Sheet 1 -> Toolbar -> Worksheet -> Actions -> Add Action -> Filter 20. Add a Filter action as following.
<STEP 5> Create a new dashboard 21. Create a new dashboard 22. Add two sheets on the dashboard.
Thank you for providing your feedback on the effectiveness of the article.