- Bernard K
Tableau image role (adding web images to worksheets)
Tableau image role (introduced in Tableau 2022.4) allows you to bring image assets into your Tableau dashboards. With this new feature, you can map images to links in your data and encode them into exportable rows and columns.
To demonstrate this, I have created this dummy data.
(This data contains a country, population numbers, and links to each country’s flag icon (extracted from Flaticon website))
The goal here is to demonstrate how you can use image role - to import image assets into your dashboards via links.
Create a view
Create a view by adding Country and Flag link (image link) to the rows shelf. Add population to the columns shelf and sort the view.
On the data pane, assign the field Flag link (image link) an image role as URL, as shown below.
Notice once you assign an image role, Tableau automatically maps the images to the respective links on the view.
I hope this short article was helpful to you. If you wish to receive more Tableau tips and tricks, kindly join our mailing list by subscribing below.
If you like the work we do and would like to work with us, drop us an email on our contacts page and we’ll reach out!
Thank you for reading!