concensure

Dashboards

Change Picture by Slicer (No VBA)

Make a dashboard image follow an Excel slicer by using a picture fill on a treemap tile.

Historical topic published by Casper Wu.

Create the source table

Enter one label per row in a table and add a count column with a value of 1 for every label. Use distinct labels so that each slicer selection maps to one tile.

Create the chart and selector

Start with a stacked column chart based on the table. Switch the row and column orientation in Chart Design and change the chart type to Treemap. Insert a slicer on the source table and select the label field.

Set a picture for each tile

Filter to a single label. Select the visible tile and set its fill to a picture using the formatting pane. Repeat for each label and test the slicer across all options. Remove chart labels or legends that obscure the pictures.

Read the related slicer guide

Historical article on LinkedIn

Look up the original workbook in the Wayback Machine