---
schema_version: "1"
id: fc4b3f9b2638faa969e9f2c2215f6965b65f489891deeed22b5cac3debd6ad71
title: Add Icons to CRM Analytics Charts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_chart_icons_add.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_chart_icons_add.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 14a23f50b49a60ccd982c9d61ab4c5d1355992c2a218b30efebb4b9b7be05d0b
description: Bar charts (but not stacked bars), dot-plot charts, and line charts can have icons along with dimension values as labels. Polar gauge charts can include icons in their centers.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Add Icons to CRM Analytics Charts

Bar charts (but not stacked bars), dot-plot charts, and line charts can have icons along with dimension values as labels. Polar gauge charts can include icons in their centers.

To add icons to a chart, use a dataset with an ungrouped URL dimension whose values are URLs to the icon images. For example, each row in the following dataset has a URL that points to a flag image stored in your org:

```

   Country,Country_code,Region,flag_img_url,Accounts,Value
   Australia,aus,South Pacific,https://MyDomainName.file.force.com/file-asset/flagaustraliapng,1898,22930651
   China,chn,East Asia,https://MyDomainName.file.force.com/file-asset/flagchinapng,2051,29754009
   Europe,eur,Europe,https://MyDomainName.file.force.com/file-asset/flageuropepng,4668,61238042
   France,fra,Europe,https://MyDomainName.file.force.com/file-asset/flagfrancepng,2303,28746829
   India,ind,Asia,https://MyDomainName.file.force.com/file-asset/flagindiapng,2721,32037499
   Italy,ita,Europe,https://MyDomainName.file.force.com/file-asset/flagitalypng,1722,26340986
   Japan,jpn,East Asia,https://MyDomainName.file.force.com/file-asset/flagjapanpng,2872,36916012
   Russian Federation,rus,East Europe,https://MyDomainName.file.force.com/file-asset/flagrussiapng,1847,27387456
   South Africa,zaf,Africa,https://MyDomainName.file.force.com/file-asset/flagsouthafricapng,879,9794857
   South Korea,kor,East Asia,https://MyDomainName.file.force.com/file-asset/flagsouthkoreapng,1643,21934785
   United States of America,usa,North America,https://MyDomainName.file.force.com/file-asset/flagusapng,6527,87044191
  
```

After you upload the dataset to CRM Analytics, explore the dataset using _only one_ grouping. Then edit the SAQL query to add the image URLs to the result set.

1. Explore the dataset to visualize the data you want to view in chart mode.
    
    ![Analytics bar chart showing account value by country](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/wave_charts_bar_countries2.png)
2. Switch to SAQL mode and edit the query using a non-grouping SAQL function such as `first()`.
    
    ![lens with dataset query in saql mode](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/wave_saql_chart_icon_url.png)
3. Return to chart mode, then click the gear menu to open the chart properties.
4. Click **Use Icons**, then select the name of the dimension containing the icon URLs from the **Icon Source** menu.
    
    Use the **Fit Mode** and **Shape** menus to adjust the icons’ appearance.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)
    
    Note The **Use Icons** menu contains the name of every non-grouped dimension used in your query, even if these dimensions do not contain image URLs.
    
    ![chart properties for setting up chart icon labels](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/wave_charts_icons_properties2.png)

To use Chatter profile images, use your browser's development tools to find the image's underlying URL.

Once you've collected the URLs, add them to a column in your dataset before uploading the dataset to CRM Analytics.

```

   name,url_src,num_accts,value_accts,territory
   astro,https://MyDomainName.file.force.com/profilephoto/7290M000000WJzg/M/1,829,1309742,North America
   ...
  
```