Displaying images in data tables and KPI boxes
This guide explains how to display images in data tables and KPI boxes.
Introduction
If your collected data contains a dimension with URL links to images, you can display the linked images in your data table and KPI box s. For example, this allows you to display a preview image of each ad in a campaign alongside its impressions.
Prerequisites
Before you complete the procedure in this guide, perform all of the following actions:
-
Create a datastream that has a dimension with URLs that link to image files.
Example:
https://yourdomain.com/images/creative-preview12.png
Displaying images in a data table
To display images in a data table, follow these steps:
-
Go to the Explore page.
-
In the Dimensions & Metrics list on the left, select a dimension with image URLs that has been configured as an image dimension.
-
In the Dimensions & Metrics list on the left, select at least one metric.
-
Click to disable the tree structure for the data table.
-
Add the data table that you have created to a dashboard as a table .
As a result, instead of the URLs, the associated images are displayed in the table dimension's settings.
according to the imageDisplaying images in KPI box
sTo display an image in a KPI box, follow these steps:
-
Follow the instructions in Creating visualization widgets to create a visualization containing your data. Make sure the following conditions are met:
-
In the Dimensions & Metrics list on the left, select a dimension with image URLs that has been configured as an image dimension.
-
Select a single value data set that consists of an image URL.
-
-
Above the visualization, select the KPI Box chart type.
The image dimension value will be displayed as an image by default.
-
(Optional) To the right of the visualization, use the Settings drop-down menu to configure the KPI box appearance.
-
(Optional) Disable the Display as image toggle in the Image dimension section in the data series (lowest level) settings to display the image URL instead.
-
Add the visualization that you have created to a dashboard .
As a result, the KPI box visualization
displays an image instead of the image URL.